summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code.l b/src/code.l
index a0a8f62..ba24ea2 100644
--- a/src/code.l
+++ b/src/code.l
@@ -2390,8 +2390,8 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
}
<Body>"("{B}*("*"{B}*)+{SCOPENAME}*{B}*")"/{B}* { // (*p)->func() but not "if (p) ..."
g_code->codify(yytext);
- int s=0;while (s<yyleng && !isId(yytext[s])) s++;
- int e=yyleng-1;while (e>=0 && !isId(yytext[e])) e--;
+ int s=0;while (s<(int)yyleng && !isId(yytext[s])) s++;
+ int e=(int)yyleng-1;while (e>=0 && !isId(yytext[e])) e--;
QCString varname = ((QCString)yytext).mid(s,e-s+1);
addType();
g_name=varname;