Fix remaining warnings in windows and linux builds

This commit is contained in:
Jasmine Iwanek
2023-12-17 12:49:10 -05:00
parent aa0b4dfab7
commit 4c87164692
4 changed files with 19 additions and 19 deletions

View File

@@ -3312,7 +3312,7 @@ nic_init(const device_t *info)
fp = nvr_fopen(eeprom_filename, "rb");
if (fp) {
fread(s->eeprom.contents, 2, 64, fp);
(void) !fread(s->eeprom.contents, 2, 64, fp);
fclose(fp);
fp = NULL;
} else {