mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-12-27 05:48:20 +01:00
Resolve clang warning.
This commit is contained in:
parent
88bf3e710f
commit
b0d3080ffe
@ -421,9 +421,9 @@ _pdfioTokenRead(_pdfio_token_t *tb, // I - Token buffer/stack
|
|||||||
return (false);
|
return (false);
|
||||||
}
|
}
|
||||||
else if (isdigit(tch))
|
else if (isdigit(tch))
|
||||||
ch = (char)((ch << 4) | (tch - '0'));
|
ch = ((ch & 255) << 4) | (tch - '0');
|
||||||
else
|
else
|
||||||
ch = (char)((ch << 4) | (tolower(tch) - 'a' + 10));
|
ch = ((ch & 255) << 4) | (tolower(tch) - 'a' + 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user