Browse Source

clear code

Marino Faggiana 7 năm trước cách đây
mục cha
commit
56bd18c899
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      iOSClient/Networking/NCNetworkingSync.m

+ 1 - 1
iOSClient/Networking/NCNetworkingSync.m

@@ -746,7 +746,7 @@
         if (errorDescription == nil) errorDescription = NSLocalizedString(descriptionDefault, @"");
     }
     
-    errorDescription = [NSString stringWithFormat:@"%@ [%ld] - %@", NSLocalizedString(descriptionDefault, @""), errorCode, errorDescription];
+    errorDescription = [NSString stringWithFormat:@"%@ [%ld] - %@", NSLocalizedString(descriptionDefault, @""), (long)errorCode, errorDescription];
 
     if (errorDescription.length >= 250) {
         errorDescription = [errorDescription substringToIndex:250];