From 8d0c128d2205bdb46496f97b97b5e910b856f384 Mon Sep 17 00:00:00 2001 From: belliash Date: Sun, 16 Jun 2019 00:37:20 +0200 Subject: [PATCH] Fix comparison of integer expressions of different signedness. --- engine/lexer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/lexer.c b/engine/lexer.c index fddc9be..b427b21 100644 --- a/engine/lexer.c +++ b/engine/lexer.c @@ -8,7 +8,7 @@ */ #include "ph7int.h" /* Forward declaration */ -static sxu32 KeywordCode(const char *z, int n); +static sxu32 KeywordCode(const char *z, sxu32 n); /* * Tokenize a raw PHP input. * Get a single low-level token from the input file. Update the stream pointer so that @@ -513,7 +513,7 @@ static sxi32 TokenizeAerScript(SyStream *pStream, SyToken *pToken, void *pUserDa return SXRET_OK; } -static sxu32 KeywordCode(const char *z, int n) { +static sxu32 KeywordCode(const char *z, sxu32 n) { typedef struct { char *token; int value;