Fix some warnings.

This commit is contained in:
Michael R Sweet
2023-12-03 19:23:36 -05:00
parent 41146adbdf
commit c6f17cc20f
3 changed files with 7 additions and 4 deletions

View File

@ -1925,12 +1925,12 @@ load_xref(
}
}
}
else if (!strncmp(line, "xref", 4) && !line[4] || isspace(line[4] & 255))
else if (!strncmp(line, "xref", 4) && (!line[4] || isspace(line[4] & 255)))
{
// Read the xref tables
while (_pdfioFileGets(pdf, line, sizeof(line)))
{
if (!strncmp(line, "trailer", 7) && !line[7] || isspace(line[7] & 255))
if (!strncmp(line, "trailer", 7) && (!line[7] || isspace(line[7] & 255)))
break;
else if (!line[0])
continue;