Resolve clang warning.

This commit is contained in:
Michael R Sweet 2021-06-04 11:03:24 -04:00
parent 88bf3e710f
commit b0d3080ffe
No known key found for this signature in database
GPG Key ID: 999559A027815955

View File

@ -421,9 +421,9 @@ _pdfioTokenRead(_pdfio_token_t *tb, // I - Token buffer/stack
return (false);
}
else if (isdigit(tch))
ch = (char)((ch << 4) | (tch - '0'));
ch = ((ch & 255) << 4) | (tch - '0');
else
ch = (char)((ch << 4) | (tolower(tch) - 'a' + 10));
ch = ((ch & 255) << 4) | (tolower(tch) - 'a' + 10);
}
}