diff options
-rw-r--r-- | vbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ static char *get_str(char *buf, unsigned buf_size, char *v, int offset) return canon_str(buf, len); } -#define GET_WORD(ADDR, OFS) ((ADDR)[OFS] + ((ADDR)[(OFS) + 1] << 8)) +#define GET_WORD(ADDR, OFS) (((unsigned char *)ADDR)[OFS] + (((unsigned char *)ADDR)[(OFS) + 1] << 8)) static void parse_vbe_info(char *v) { |