Silence warning [-Wsign-compare]
This commit is contained in:
parent
6afbc9a09c
commit
11bd3e0eee
|
@ -158,7 +158,7 @@ uint8_t *utilLoad(const char *file, bool (*accept)(const char *), uint8_t *data,
|
|||
}
|
||||
}
|
||||
|
||||
if (fread(image, 1, size, fp) != size) {
|
||||
if (fread(image, 1, size, fp) != (size_t)size) {
|
||||
log("Failed to read from %s", file);
|
||||
fclose(fp);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue