fix OW warning W115 in config.c

This commit is contained in:
Kenneth J Davis 2022-10-24 18:08:27 -04:00 committed by GitHub
parent af52b0c8c3
commit 6f6e44e1b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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++)