From: Jay Freeman (saurik) Date: Tue, 8 Dec 2009 21:49:35 +0000 (+0000) Subject: Actually committing the file that fixed the int to size_t for the lexer warning. X-Git-Tag: v0.9.432~123 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/17fe7546f6ef4df0bc8b0394e39d929c93d5c1f4?ds=sidebyside Actually committing the file that fixed the int to size_t for the lexer warning. --- diff --git a/Cycript.l.in b/Cycript.l.in index 42ba069..5b4d5d9 100644 --- a/Cycript.l.in +++ b/Cycript.l.in @@ -347,7 +347,7 @@ XMLName {XMLNameStart}{XMLNamePart}* char *value(reinterpret_cast(apr_palloc(yyextra->pool_, yyleng))); char *local(value); - for (int i(1); i != yyleng - 1; ++i) { + for (size_t i(1); i != yyleng - 1; ++i) { char next(yytext[i]); if (yytext[i] == '\\')