From cca664a5daffa707c3af567ceb3707ac0a69402e Mon Sep 17 00:00:00 2001 From: Dmitry Vorobyov Date: Wed, 15 Oct 2014 22:26:15 +0400 Subject: [PATCH] Formatting stuff --- Antidote/ToxManager+PrivateAvatars.m | 2 +- Antidote/ToxManager+PrivateFiles.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Antidote/ToxManager+PrivateAvatars.m b/Antidote/ToxManager+PrivateAvatars.m index 0d9ff5fc..1c7c5b4a 100644 --- a/Antidote/ToxManager+PrivateAvatars.m +++ b/Antidote/ToxManager+PrivateAvatars.m @@ -38,7 +38,7 @@ - (void)qRegisterAvatarCallbacksAndSetup const uint8_t *bytes = [data bytes]; - DDLogInfo(@"ToxManager+PrivateAvatars: found avatar, setting it. Length = %lu", data.length); + DDLogInfo(@"ToxManager+PrivateAvatars: found avatar, setting it. Length = %lu", (unsigned long)data.length); tox_set_avatar(self.tox, TOX_AVATAR_FORMAT_PNG, bytes, (uint32_t)data.length); } diff --git a/Antidote/ToxManager+PrivateFiles.m b/Antidote/ToxManager+PrivateFiles.m index dc2cfe30..080fa1a9 100644 --- a/Antidote/ToxManager+PrivateFiles.m +++ b/Antidote/ToxManager+PrivateFiles.m @@ -218,7 +218,7 @@ - (void)qUploadData:(NSData *)data withFileName:(NSString *)originalFileName toC { NSAssert(dispatch_get_specific(kIsOnToxManagerQueue), @"Must be on ToxManager queue"); - DDLogInfo(@"ToxManager: upload data with fileName %@, size %lu", originalFileName, data.length); + DDLogInfo(@"ToxManager: upload data with fileName %@, size %lu", originalFileName, (unsigned long)data.length); if (chat.users.count > 1) { DDLogError(@"ToxManager: send message... group chats aren't supported yet");