From 98505c1b6b54c477e5c438d7fee3eac9ee100d66 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Fri, 13 Jun 2014 14:19:20 +0200 Subject: [PATCH] oc/MAPIStoreContext: Fix log messages to actually print 64bit FMIDs Signed-off-by: Kamen Mazdrashki Conflicts: OpenChange/MAPIStoreContext.m --- OpenChange/MAPIStoreContext.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenChange/MAPIStoreContext.m b/OpenChange/MAPIStoreContext.m index 9aaa38a7b..128e8d31f 100644 --- a/OpenChange/MAPIStoreContext.m +++ b/OpenChange/MAPIStoreContext.m @@ -373,13 +373,13 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri) if ([objectURL hasPrefix: url]) { *path = [[objectURL substringFromIndex: 7] asUnicodeInMemCtx: memCtx]; - [self logWithFormat: @"found path '%s' for fmid %"PRIu64, *path, fmid]; + [self logWithFormat: @"found path '%s' for fmid 0x%.16"PRIx64"", *path, fmid]; rc = MAPISTORE_SUCCESS; } else { - [self logWithFormat: @"context (%@, %@) does not contain " - @"found fmid: %"PRIu64, objectURL, url, fmid]; + [self logWithFormat: @"context (%@, %@) does not contain " + @"found fmid: 0x%.16"PRIx64"", objectURL, url, fmid]; *path = NULL; rc = MAPISTORE_SUCCESS; }