Resolve clang warnings, update Xcode project.

This commit is contained in:
Michael R Sweet
2025-09-25 17:12:33 -04:00
parent 2582052377
commit fe122d557b
15 changed files with 64 additions and 48 deletions

View File

@@ -483,7 +483,7 @@ do_test_file(const char *filename, // I - PDF filename
{
dict = pdfioObjGetDict(obj);
printf(" %u %u obj dict=%p(%lu pairs)\n", (unsigned)pdfioObjGetNumber(obj), (unsigned)pdfioObjGetGeneration(obj), dict, dict ? (unsigned long)dict->num_pairs : 0UL);
printf(" %u %u obj dict=%p(%lu pairs)\n", (unsigned)pdfioObjGetNumber(obj), (unsigned)pdfioObjGetGeneration(obj), (void *)dict, dict ? (unsigned long)dict->num_pairs : 0UL);
fputs(" ", stdout);
_pdfioValueDebug(&obj->value, stdout);
putchar('\n');
@@ -4019,6 +4019,7 @@ write_text_test(pdfio_file_t *pdf, // I - PDF file
else
{
testEnd(false);
fclose(fp);
return (1);
}
}