Marino Faggiana hace 7 años
padre
commit
56bd18c899
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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];