Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ios: fix compilation warnings

Saúl Ibarra Corretgé8c0317cac0e2
diff --git a/ios/sdk/src/dropbox/Dropbox.m b/ios/sdk/src/dropbox/Dropbox.m
index 9418e9d370..e4ca8bf0f3 100644
--- a/ios/sdk/src/dropbox/Dropbox.m
+++ b/ios/sdk/src/dropbox/Dropbox.m
@@ -66,7 +66,7 @@ RCT_EXPORT_METHOD(authorize:(RCTPromiseResolveBlock)resolve
[DBClientsManager authorizeFromController:[UIApplication sharedApplication]
controller:[[self class] topMostController]
openURL:^(NSURL *url) {
- [[UIApplication sharedApplication] openURL:url];
+ [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
}];
});
}
@@ -137,7 +137,7 @@ RCT_EXPORT_METHOD(getSpaceUsage: (NSString *)token
} else {
NSString *msg;
if ([authResult isError]) {
- msg = [NSString stringWithFormat:@"%@, error type: %ld",[authResult errorDescription], [authResult errorType]];
+ msg = [NSString stringWithFormat:@"%@, error type: %zd",[authResult errorDescription], [authResult errorType]];
} else {
msg = @"OAuth canceled!";
}