summaryrefslogtreecommitdiffstats
path: root/src/vhdlscanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdlscanner.l')
-rw-r--r--src/vhdlscanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdlscanner.l b/src/vhdlscanner.l
index a13a51c..e7de626 100644
--- a/src/vhdlscanner.l
+++ b/src/vhdlscanner.l
@@ -114,7 +114,7 @@ static struct
} str_doc;
#define YY_NEVER_INTERACTIVE 1
-#define YY_USER_ACTION num_chars += vhdlScanYYleng;
+#define YY_USER_ACTION num_chars += (int)vhdlScanYYleng;
#define MAX_KEYWORD_LEN 20