Permalink
Browse files

Fix type inconsistencies.

mapfile.c line 65: error: conflicting types for variable `msyystring_icase'
old definition in module `maplexer' file maplexer.l line 51
signed int
new definition in module `mapfile' file mapfile.c line 65
char

Depending on endianness of the platform, the lexer may use the wrong byte of
msyystring_icase.
  • Loading branch information...
sebastic committed Jan 26, 2016
1 parent d02e6fb commit 278a280411130f2a0521afb222d7780d2581c816
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapfile.c
View
@@ -62,7 +62,7 @@ extern char *msyystring;
extern char *msyybasepath;
extern int msyyreturncomments;
extern char *msyystring_buffer;
-extern char msyystring_icase;
+extern int msyystring_icase;
extern int loadSymbol(symbolObj *s, char *symbolpath); /* in mapsymbol.c */
extern void writeSymbol(symbolObj *s, FILE *stream); /* in mapsymbol.c */

0 comments on commit 278a280

Please sign in to comment.