Permalink
Browse files
Cast to proper type for format string.
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
Classes/Sync/WebDav/WebDavTransferManager.m
|
@@ -170,7 +170,7 @@ - (void)connectionDidFinishLoading:(NSURLConnection*)aConnection { |
|
|
activeTransfer.errorText = [NSString stringWithFormat:@"404: File not found: %@", [[activeTransfer remoteUrl] path]];
|
|
|
break;
|
|
|
default:
|
|
|
- activeTransfer.errorText = [NSString stringWithFormat:@"%d: Unknown error for file: %@", activeTransfer.statusCode, [[activeTransfer remoteUrl] path]];
|
|
|
+ activeTransfer.errorText = [NSString stringWithFormat:@"%d: Unknown error for file: %@", (unsigned int)activeTransfer.statusCode, [[activeTransfer remoteUrl] path]];
|
|
|
break;
|
|
|
}
|
|
|
activeTransfer.success = false;
|
|
|
0 comments on commit
1f899d9