]> git.saurik.com Git - cycript.git/commitdiff
Actually committing the file that fixed the int to size_t for the lexer warning.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 8 Dec 2009 21:49:35 +0000 (21:49 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 8 Dec 2009 21:49:35 +0000 (21:49 +0000)
Cycript.l.in

index 42ba069501d90e5f919a60075b36ee5fa7220c73..5b4d5d9cfbbc7da338cdb4f9979b5fbdfc4b6c96 100644 (file)
@@ -347,7 +347,7 @@ XMLName {XMLNameStart}{XMLNamePart}*
     char *value(reinterpret_cast<char *>(apr_palloc(yyextra->pool_, yyleng)));
     char *local(value);
 
     char *value(reinterpret_cast<char *>(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] == '\\')
         char next(yytext[i]);
 
         if (yytext[i] == '\\')