fix format logging uint64_t

pull/49/head
Jesús García Sáez 2014-02-27 17:47:28 +01:00 committed by Julio García
parent c81476bd04
commit 6bef678114
1 changed files with 4 additions and 7 deletions

View File

@ -372,17 +372,14 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri)
{
if ([objectURL hasPrefix: url])
{
*path = [[objectURL substringFromIndex: 7]
asUnicodeInMemCtx: memCtx];
[self logWithFormat: @"found path '%s' for fmid %.16x",
*path, fmid];
*path = [[objectURL substringFromIndex: 7] asUnicodeInMemCtx: memCtx];
[self logWithFormat: @"found path '%s' for fmid %"PRIu64, *path, fmid];
rc = MAPISTORE_SUCCESS;
}
else
{
[self logWithFormat: @"context (%@, %@) does not contain"
@" found fmid: 0x%.16x",
objectURL, url, fmid];
[self logWithFormat: @"context (%@, %@) does not contain "
@"found fmid: %"PRIu64, objectURL, url, fmid];
*path = NULL;
rc = MAPISTORE_SUCCESS;
}