diff options
author | rlar <rlar> | 2016-02-28 15:20:31 +0100 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2016-03-12 14:23:30 -0500 |
commit | 986bb5e29492a927a2ad157505c900f75c97016a (patch) | |
tree | 9a22a5ca8f351dadb2f2dadeaa541f8cf14cccdc /src/flex.skl | |
parent | 33dd868353ab98bc33363d43be5a8b0e7e049072 (diff) |
generated code, here `new_size' is of type `int', fix casts accordingly
Diffstat (limited to 'src/flex.skl')
-rw-r--r-- | src/flex.skl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flex.skl b/src/flex.skl index 2c25d21..540ce95 100644 --- a/src/flex.skl +++ b/src/flex.skl @@ -1782,7 +1782,7 @@ m4_ifdef( [[M4_YY_USES_REJECT]], /* Extend the array by 50%, plus the number we really need. */ int new_size = YY_G(yy_n_chars) + number_to_move + (YY_G(yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( - (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, new_size M4_YY_CALL_LAST_ARG ); + (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size M4_YY_CALL_LAST_ARG ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } |