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

+2 -2
View File
@@ -81,8 +81,8 @@
timestamp = (int) [[NSDate date] timeIntervalSince1970];
pGUID = [[NSProcessInfo processInfo] globallyUniqueString];
messageID = [NSString stringWithFormat: @"<%0X-%0X-%0X-%0X@%u>",
pid, timestamp, sequence, random(), [pGUID hash]];
messageID = [NSString stringWithFormat: @"<%0X-%0X-%0X-%0X@%lu>",
pid, timestamp, sequence, (unsigned int)random(), [pGUID hash]];
return [messageID lowercaseString];
}