summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r--src/pyscanner.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index b0486e4..ba19fee 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -787,7 +787,7 @@ STARTDOCSYMS "##"
if (computeIndent(&yytext[1])<=g_indent)
{
int i;
- for (i=yyleng-1;i>=0;i--)
+ for (i=(int)yyleng-1;i>=0;i--)
{
unput(yytext[i]);
}
@@ -805,7 +805,7 @@ STARTDOCSYMS "##"
if (computeIndent(&yytext[1])<=g_indent)
{
int i;
- for (i=yyleng-1;i>=0;i--)
+ for (i=(int)yyleng-1;i>=0;i--)
{
unput(yytext[i]);
}