Stage 1 of clang compiler warning patches.

This commit is contained in:
Euan Thoms committed 2015-10-31 14:10:03 +08:00
1 parent 0b490a00c6
commit 3c62cc744e
85 files changed
+185 -165

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@
return [NSString stringWithFormat: @"%u",
(unsigned int) ([self childIndex] + 1)];
char buf[8];
sprintf(buf, "%d", [self childIndex] + 1);
sprintf(buf, "%d", (int)[self childIndex] + 1);
return [NSString stringWithCString:buf];
}