1304c3
commit 986bb5e29492a927a2ad157505c900f75c97016a
1304c3
Author: rlar <rlar>
1304c3
Date:   Sun Feb 28 15:20:31 2016 +0100
1304c3
1304c3
    generated code, here `new_size' is of type `int', fix casts accordingly
1304c3
1304c3
Index: b/src/flex.skl
1304c3
===================================================================
1304c3
--- a/src/flex.skl
1304c3
+++ b/src/flex.skl
1304c3
@@ -1782,7 +1782,7 @@ m4_ifdef( [[M4_YY_USES_REJECT]],
1304c3
 		/* Extend the array by 50%, plus the number we really need. */
1304c3
 		int new_size = YY_G(yy_n_chars) + number_to_move + (YY_G(yy_n_chars) >> 1);
1304c3
 		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
1304c3
-			(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, new_size M4_YY_CALL_LAST_ARG );
1304c3
+			(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size M4_YY_CALL_LAST_ARG );
1304c3
 		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1304c3
 			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1304c3
 	}