Index: src/OFExceptions.m ================================================================== --- src/OFExceptions.m +++ src/OFExceptions.m @@ -33,11 +33,11 @@ } - init: (id)obj withSize: (size_t)size { - fprintf(stderr, "ERROR: Could not allocate %zd byte for object %s!\n", + fprintf(stderr, "ERROR: Could not allocate %zu byte for object %s!\n", size, [obj name]); return [super init]; } @end Index: tests/OFList/OFList.m ================================================================== --- tests/OFList/OFList.m +++ tests/OFList/OFList.m @@ -36,13 +36,13 @@ [list addNew: [OFString new: strings[1]]]; [list addNew: [OFString new: strings[2]]]; for (iter = [list first], i = 0; iter != nil; iter = [iter next], i++) if (!strcmp([(OFString*)[iter data] cString], strings[i])) - printf("Element %zd is expected element. GOOD!\n", i); + printf("Element %zu is expected element. GOOD!\n", i); else { - printf("Element %zd is not expected element!\n", i); + printf("Element %zu is not expected element!\n", i); return 1; } if (!strcmp([(OFString*)[[list first] data] cString], strings[0])) puts("First element is expected element. GOOD!");