Fix three warnings

This commit is contained in:
Jasmine Iwanek
2025-02-21 20:02:28 -05:00
parent 727bfc0745
commit fc639750ac
3 changed files with 3 additions and 3 deletions

View File

@@ -3101,7 +3101,7 @@ da2_loadfont(char *fname, void *p)
}
uint32_t j = 0;
while (ftell(mfile) < fsize) {
fread(&buf, sizeof(uint8_t), 1, mfile);
(void) !fread(&buf, sizeof(uint8_t), 1, mfile);
da2->mmio.font[j] = buf;
j++;
}