]> git.saurik.com Git - cycript.git/blobdiff - Cycript.l.in
Oops! That broke the Linux build with GNUstep.
[cycript.git] / Cycript.l.in
index 42ba069501d90e5f919a60075b36ee5fa7220c73..70d4e5377c7438e423c13f7d7a162dfd65713f36 100644 (file)
@@ -347,7 +347,7 @@ XMLName {XMLNameStart}{XMLNamePart}*
     char *value(reinterpret_cast<char *>(apr_palloc(yyextra->pool_, yyleng)));
     char *local(value);
 
-    for (int i(1); i != yyleng - 1; ++i) {
+    for (yy_size_t i(1), e(yyleng - 1); i != e; ++i) {
         char next(yytext[i]);
 
         if (yytext[i] == '\\')