QT: Fix a warning.

This commit is contained in:
OBattler
2025-06-07 16:51:22 +02:00
parent 7f1f56e0cf
commit d66066fa93

View File

@@ -118,7 +118,7 @@ static char *load_file(const char *fn) {
char *data = (char*)malloc(fsize + 1);
(void *) !fread(data, fsize, 1, fp);
(void) fread(data, fsize, 1, fp);
fclose(fp);
data[fsize] = 0;