Module Name:    src
Committed By:   christos
Date:           Sun Dec 23 22:14:29 UTC 2018

Modified Files:
        src/external/bsd/flex/dist/src: flex.skl

Log Message:
fix incorrect cast.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/flex/dist/src/flex.skl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/flex/dist/src/flex.skl
diff -u src/external/bsd/flex/dist/src/flex.skl:1.12 src/external/bsd/flex/dist/src/flex.skl:1.13
--- src/external/bsd/flex/dist/src/flex.skl:1.12	Sun Dec 23 11:27:17 2018
+++ src/external/bsd/flex/dist/src/flex.skl	Sun Dec 23 17:14:29 2018
@@ -1694,7 +1694,7 @@ m4_ifdef( [[M4_YY_USES_REJECT]],
 		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
 			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
 		/* "- 2" to take care of EOB's */
-		YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
+		YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (yy_size_t) (new_size - 2);
 	}
 
 	YY_G(yy_n_chars) += number_to_move;

Reply via email to