Fix compiler warning and update Xcode project.

This commit is contained in:
Michael R Sweet
2024-12-23 15:07:32 -05:00
parent 10c15fc281
commit e96f9bfa6b
2 changed files with 17 additions and 6 deletions

View File

@@ -1132,7 +1132,7 @@ pdfioContentTextMeasure(
}
if (i < (sizeof(_pdfio_cp1252) / sizeof(_pdfio_cp1252[0])))
ch = i + 0x80; // Extra characters from 0x80 to 0x9f
ch = (int)(i + 0x80); // Extra characters from 0x80 to 0x9f
else
ch = '?'; // Unsupported chars map to ?
}