Skip to content

Commit

Permalink
Fix type inconsistencies.
Browse files Browse the repository at this point in the history
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 278a280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 278a280

Please sign in to comment.