Author: chromatic
Date: Sat May 26 17:54:11 2007
New Revision: 18653
Modified:
trunk/compilers/imcc/imclexer.c
Log:
[IMCC] Fixed a compiler warning.
I fear this will come back when someone regenerates the file. Hateful lex.
Modified: trunk/compilers/imcc/imclexer.c
==============================================================================
--- trunk/compilers/imcc/imclexer.c (original)
+++ trunk/compilers/imcc/imclexer.c Sat May 26 17:54:11 2007
@@ -2879,7 +2879,7 @@
{ \
int c = '*'; \
size_t n; \
- for ( n = 0; n < max_size && \
+ for ( n = 0; n < (size_t)max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \