From: rlar Date: Sat, 27 Feb 2016 21:46:02 +0000 (+0100) Subject: generated code, `_yybytes_len' is of type `int', fix code accordingly X-Git-Tag: v2.6.2~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf4121fa97abac8aeaa5e08b8fc0b2380228494e;p=flex generated code, `_yybytes_len' is of type `int', fix code accordingly --- diff --git a/src/flex.skl b/src/flex.skl index 540ce95..caceb4b 100644 --- a/src/flex.skl +++ b/src/flex.skl @@ -2451,11 +2451,11 @@ YY_BUFFER_STATE yy_scan_bytes YYFARGS2( yyconst char *,yybytes, int ,_yybytes_l YY_BUFFER_STATE b; char *buf; yy_size_t n; - yy_size_t i; + int i; m4_dnl M4_YY_DECL_GUTS_VAR(); /* Get memory for full buffer, including space for trailing EOB's. */ - n = (yy_size_t) _yybytes_len + 2; + n = (yy_size_t) (_yybytes_len + 2); buf = (char *) yyalloc( n M4_YY_CALL_LAST_ARG ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );