[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 4f72c4d] Fix signedness problems
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 4f72c4d] Fix signedness problems |
Date: |
Sat, 13 Jun 2009 13:42:50 -0000 |
From: Blue Swirl <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>
diff --git a/hw/baum.c b/hw/baum.c
index f6d6e67..c9135b5 100644
--- a/hw/baum.c
+++ b/hw/baum.c
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 4f72c4d] Fix signedness problems,
Anthony Liguori <=