aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hughes <greg@ghughes.com>2017-02-27 01:54:03 -0800
committerRichard van der Hoff <richard@matrix.org>2017-02-27 17:24:17 +0000
commit86c6af943a6f72f52de87bddd9401e3dd5f0716a (patch)
tree598a6ba3c9814c9b15ade9b71703869a1b4af807
parentb185229c2beb01b88b21be322cff750c1342e79a (diff)
OLMKit: Fixed type of messageIndex argument in exportSessionAtMessageIndex
Signed-off-by: Greg Hughes <greg@ghughes.com>
-rw-r--r--xcode/OLMKit/OLMInboundGroupSession.h2
-rw-r--r--xcode/OLMKit/OLMInboundGroupSession.m2
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];