summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index 48d2fa4..1774788 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -84,7 +84,7 @@ static QStack<DocLexerContext> g_lexerStack;
static int g_yyLineNr = 0;
-#define lineCount(s,len) do { for(int i=0;i<len;i++) if (s[i]=='\n') g_yyLineNr++; } while(0)
+#define lineCount(s,len) do { for(int i=0;i<(int)len;i++) if (s[i]=='\n') g_yyLineNr++; } while(0)
#if USE_STATE2STRING