Fixed build warnings in wxWidgets GUI.
This commit is contained in:
parent
54d260846f
commit
ec6ba93665
9 changed files with 40 additions and 60 deletions
|
|
@ -41,7 +41,7 @@ static char* load_file(const char* fn)
|
|||
|
||||
char* data = malloc(fsize+1);
|
||||
|
||||
long read = fread(data, fsize, 1, f);
|
||||
fread(data, fsize, 1, f);
|
||||
fclose(f);
|
||||
|
||||
data[fsize] = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue