diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-06-13 13:19:25 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-06-13 13:19:25 +0000 |
commit | 0d68303cf4699cf2b0b363472d879600128b4f4e (patch) | |
tree | 08b493ee1094ab0b92eaec0bd9d951439e1e1794 | |
parent | 3e24ba577251dece1e24fc16430e5aecc5183371 (diff) | |
download | qemu-0d68303cf4699cf2b0b363472d879600128b4f4e.tar.gz qemu-0d68303cf4699cf2b0b363472d879600128b4f4e.tar.bz2 qemu-0d68303cf4699cf2b0b363472d879600128b4f4e.zip |
Fix signedness problems
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | hw/baum.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -90,7 +90,7 @@ typedef struct { brlapi_handle_t *brlapi; int brlapi_fd; - int x, y; + unsigned int x, y; uint8_t in_buf[BUF_SIZE]; uint8_t in_buf_used; @@ -356,12 +356,12 @@ static int baum_eat_packet(BaumDriverState *baum, const uint8_t *buf, int len) .displayNumber = BRLAPI_DISPLAY_DEFAULT, .regionBegin = 1, .regionSize = baum->x * baum->y, - .text = text, + .text = (char *)text, .textSize = baum->x * baum->y, .andMask = zero, .orMask = cells, .cursor = cursor, - .charset = "ISO-8859-1", + .charset = (char *)"ISO-8859-1", }; if (brlapi__write(baum->brlapi, &wa) == -1) |