diff options
Diffstat (limited to 'hw/kdrive/linux/ps2.c')
-rw-r--r-- | hw/kdrive/linux/ps2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/linux/ps2.c b/hw/kdrive/linux/ps2.c index 29b6a46a2..b59dbfac7 100644 --- a/hw/kdrive/linux/ps2.c +++ b/hw/kdrive/linux/ps2.c @@ -90,7 +90,7 @@ Ps2Read (int ps2Port, void *closure) right_button = KD_BUTTON_1; } #endif - while ((n = Ps2ReadBytes (ps2Port, buf, sizeof (buf), 3)) > 0) + while ((n = Ps2ReadBytes (ps2Port, (char *) buf, sizeof (buf), 3)) > 0) { b = buf; while (n >= 3) |