From 86c6af943a6f72f52de87bddd9401e3dd5f0716a Mon Sep 17 00:00:00 2001 From: Greg Hughes Date: Mon, 27 Feb 2017 01:54:03 -0800 Subject: OLMKit: Fixed type of messageIndex argument in exportSessionAtMessageIndex Signed-off-by: Greg Hughes --- xcode/OLMKit/OLMInboundGroupSession.h | 2 +- xcode/OLMKit/OLMInboundGroupSession.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xcode/OLMKit/OLMInboundGroupSession.h b/xcode/OLMKit/OLMInboundGroupSession.h index e0cd961..c0d2c59 100644 --- a/xcode/OLMKit/OLMInboundGroupSession.h +++ b/xcode/OLMKit/OLMInboundGroupSession.h @@ -33,6 +33,6 @@ - (BOOL)isVerified; -- (NSString*)exportSessionAtMessageIndex:(NSUInteger*)messageIndex error:(NSError**)error; +- (NSString*)exportSessionAtMessageIndex:(NSUInteger)messageIndex error:(NSError**)error; @end diff --git a/xcode/OLMKit/OLMInboundGroupSession.m b/xcode/OLMKit/OLMInboundGroupSession.m index 08459ca..06c6e33 100644 --- a/xcode/OLMKit/OLMInboundGroupSession.m +++ b/xcode/OLMKit/OLMInboundGroupSession.m @@ -190,7 +190,7 @@ return (0 != olm_inbound_group_session_is_verified(session)); } -- (NSString*)exportSessionAtMessageIndex:(NSUInteger*)messageIndex error:(NSError**)error; +- (NSString*)exportSessionAtMessageIndex:(NSUInteger)messageIndex error:(NSError**)error; { size_t length = olm_export_inbound_group_session_length(session); NSMutableData *key = [NSMutableData dataWithLength:length]; -- cgit v1.2.3