Fixed build warnings in wxWidgets GUI.

This commit is contained in:
SarahW 2017-08-05 20:05:35 +01:00
commit ec6ba93665
9 changed files with 40 additions and 60 deletions

View file

@ -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;