summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrlar <rlar>2016-02-28 15:20:31 +0100
committerWill Estes <westes575@gmail.com>2016-03-12 14:21:33 -0500
commit3614d4c8345c5bb4bf94ee026e8e7a731f55bdad (patch)
tree34451f3b60bbe776e900468e64e711358b27c9df /src
parent04c31bf09f1fdbe5ccf156fceb9560e3c211abbe (diff)
generated code, `offset' is of type `int'
Diffstat (limited to 'src')
-rw-r--r--src/flex.skl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flex.skl b/src/flex.skl
index fc6915a..0631725 100644
--- a/src/flex.skl
+++ b/src/flex.skl
@@ -1931,7 +1931,7 @@ m4_ifdef( [[M4_YY_USE_LINENO]],
else
{ /* need more input */
- int offset = YY_G(yy_c_buf_p) - YY_G(yytext_ptr);
+ int offset = (int) (YY_G(yy_c_buf_p) - YY_G(yytext_ptr));
++YY_G(yy_c_buf_p);
switch ( yy_get_next_buffer( M4_YY_CALL_ONLY_ARG ) )