From e75349e7f96a1248268488f9c86c35debc9de2a5 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 17 Dec 2018 07:27:52 +0100 Subject: [PATCH] src/as/lexer.h: in struct token: integer value can max be 8 bits wide. --- src/as/lexer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/as/lexer.h b/src/as/lexer.h index e2a5319..cea04d7 100644 --- a/src/as/lexer.h +++ b/src/as/lexer.h @@ -62,8 +62,8 @@ struct token { * this can be a string or unsigned short */ union { - uint16_t n; - char s[32]; + int8_t n; + char s[32]; } value; };