fix OW warning W115 in config.c
This commit is contained in:
parent
af52b0c8c3
commit
6f6e44e1b5
@ -1619,7 +1619,7 @@ err:printf("%s has invalid format\n", filename);
|
||||
if (lseek(fd, entry.offset) == 0xffffffffL
|
||||
|| read(fd, &count, sizeof(count)) != sizeof(count)
|
||||
|| count > LENGTH(hdr)
|
||||
|| read(fd, &hdr, sizeof(struct subf_hdr) * count)
|
||||
|| read(fd, hdr, sizeof(struct subf_hdr) * count)
|
||||
!= sizeof(struct subf_hdr) * count)
|
||||
goto err;
|
||||
for (i = 0; i < count; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user