diff options
Diffstat (limited to 'src/drivers/pc80')
-rw-r--r-- | src/drivers/pc80/vga/vga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/pc80/vga/vga.c b/src/drivers/pc80/vga/vga.c index a52ba6dc1f..a9befcaccc 100644 --- a/src/drivers/pc80/vga/vga.c +++ b/src/drivers/pc80/vga/vga.c @@ -267,7 +267,7 @@ vga_write_at_offset(unsigned int line, unsigned int offset, const char *string) for (i = 0; i < (VGA_COLUMNS - offset); i++) { if (i < len) - p[i] = 0x0F00 | string[i]; + p[i] = 0x0F00 | (unsigned char)string[i]; else p[i] = 0x0F00; } |