Use unsigned int to count sizes for -bench (YARPgen)
I have a testfile created by YARPGen (seed=9), which displayed a negative bss size without this patch. * tcc needs also a bigger VSTACK_SIZE (i used 512) -- bye bye ... Detlef
This commit is contained in:
parent
4dc7662a07
commit
b2485d6cd5
1 changed files with 1 additions and 1 deletions
2
tcc.h
2
tcc.h
|
@ -1005,7 +1005,7 @@ struct TCCState {
|
|||
int total_idents;
|
||||
int total_lines;
|
||||
int total_bytes;
|
||||
int total_output[4];
|
||||
unsigned int total_output[4];
|
||||
|
||||
/* option -dnum (for general development purposes) */
|
||||
int g_debug;
|
||||
|
|
Loading…
Reference in a new issue