From 0d839bd13872ef5ebd9bc47e5c094b431c870c78 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 2 Jan 2013 15:20:07 +0100 Subject: [PATCH] pragma code: signed correctness --- lexer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lexer.c b/lexer.c index 30ac500..5e0414b 100644 --- a/lexer.c +++ b/lexer.c @@ -485,7 +485,7 @@ unroll: if (command) { vec_pop(command); while (vec_size(command)) { - lex_ungetch(lex, vec_last(command)); + lex_ungetch(lex, (unsigned char)vec_last(command)); vec_pop(command); } vec_free(command); @@ -494,7 +494,7 @@ unroll: if (command) { vec_pop(command); while (vec_size(command)) { - lex_ungetch(lex, vec_last(command)); + lex_ungetch(lex, (unsigned char)vec_last(command)); vec_pop(command); } vec_free(command); @@ -503,7 +503,7 @@ unroll: if (pragma) { vec_pop(pragma); while (vec_size(pragma)) { - lex_ungetch(lex, vec_last(pragma)); + lex_ungetch(lex, (unsigned char)vec_last(pragma)); vec_pop(pragma); } vec_free(pragma); -- 2.39.2