Skip to content

Commit abd9480

Browse files
committed
toke: fix type of olen variable
The olen variable is declared as unsigned int in toke/stream.c, but simply as int in the extern definition in emit.c. This may cause undefined behaviour, so fix that. Signed-off-by: Aurelien Jarno <[email protected]>
1 parent 7d392bb commit abd9480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toke/emit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static bool fcode_written = FALSE;
133133
**************************************************************************** */
134134

135135
extern u8 *ostart;
136-
extern int olen;
136+
extern unsigned int olen;
137137
extern void increase_output_buffer( void);
138138

139139

0 commit comments

Comments
 (0)