Fix clang issues.

This commit is contained in:
Michael R Sweet
2025-12-31 11:44:28 -05:00
parent d1cbeec9e3
commit 16e2d6c91a
2 changed files with 2 additions and 2 deletions

View File

@@ -397,7 +397,7 @@ _pdfioTokenRead(_pdfio_token_t *tb, // I - Token buffer/stack
{
// UTF-16 string, convert to UTF-8...
PDFIO_DEBUG("_pdfioTokenRead: Converting string to UTF-8.\n", stderr);
_pdfio_utf16cpy(buffer + 1, (unsigned char *)buffer + 1, bufptr - buffer - 1, bufsize - 1);
_pdfio_utf16cpy(buffer + 1, (unsigned char *)buffer + 1, (size_t)(bufptr - buffer - 1), bufsize - 1);
PDFIO_DEBUG("_pdfioTokenRead: Read '%s'.\n", buffer);
return (true);

2
ttf

Submodule ttf updated: 667760a156...c86b7c35d8