]> granicus.if.org Git - flex/commitdiff
add a size_t cast (patch from Manoj Srivastava from the debian patchset
authorWill Estes <wlestes@users.sourceforge.net>
Mon, 23 Apr 2007 10:57:49 +0000 (10:57 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Mon, 23 Apr 2007 10:57:49 +0000 (10:57 +0000)
flex.skl

index 651e66a63ce18df88240f5833eed0ab50b70fbdd..4651861ed87443ce2a4047a820d4a917e14dad18 100644 (file)
--- a/flex.skl
+++ b/flex.skl
@@ -1649,7 +1649,7 @@ m4_ifdef( [[M4_YY_USES_REJECT]],
 
                /* Read in more data. */
                YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
-                       YY_G(yy_n_chars), num_to_read );
+                       YY_G(yy_n_chars), (size_t) num_to_read );
 
                YY_CURRENT_BUFFER_LVALUE->yy_n_chars = YY_G(yy_n_chars);
                }