From 2e84f7552a47429cb5288f7d1e1c96ba9140df0f Mon Sep 17 00:00:00 2001 From: manuroe Date: Mon, 25 Jun 2018 17:57:51 +0200 Subject: Fix obj-c warnings --- xcode/OLMKit/OLMInboundGroupSession.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xcode/OLMKit/OLMInboundGroupSession.m') diff --git a/xcode/OLMKit/OLMInboundGroupSession.m b/xcode/OLMKit/OLMInboundGroupSession.m index 06c6e33..68750ec 100644 --- a/xcode/OLMKit/OLMInboundGroupSession.m +++ b/xcode/OLMKit/OLMInboundGroupSession.m @@ -194,7 +194,7 @@ { size_t length = olm_export_inbound_group_session_length(session); NSMutableData *key = [NSMutableData dataWithLength:length]; - size_t result = olm_export_inbound_group_session(session, key.mutableBytes, key.length, messageIndex); + size_t result = olm_export_inbound_group_session(session, key.mutableBytes, key.length, (uint32_t)messageIndex); if (result == olm_error()) { const char *olm_error = olm_inbound_group_session_last_error(session); NSString *errorString = [NSString stringWithUTF8String:olm_error]; -- cgit v1.2.3