Fix comparison of integer expressions of different signedness.
已通過所有檢查
The build was successful.

此提交包含在:
2019-06-16 00:37:20 +02:00
父節點 c7b6e76d0d
當前提交 8d0c128d22

查看文件

@@ -8,7 +8,7 @@
*/ */
#include "ph7int.h" #include "ph7int.h"
/* Forward declaration */ /* Forward declaration */
static sxu32 KeywordCode(const char *z, int n); static sxu32 KeywordCode(const char *z, sxu32 n);
/* /*
* Tokenize a raw PHP input. * Tokenize a raw PHP input.
* Get a single low-level token from the input file. Update the stream pointer so that * 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; return SXRET_OK;
} }
static sxu32 KeywordCode(const char *z, int n) { static sxu32 KeywordCode(const char *z, sxu32 n) {
typedef struct { typedef struct {
char *token; char *token;
int value; int value;