mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-21 22:53:18 +00:00
Stage 1 of clang compiler warning patches.
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user