Permalink
Browse files

Cast to proper type for format string.

  • Loading branch information...
0-wiz-0 committed Jun 26, 2013
1 parent f1d44e5 commit 1f899d95aa40664c03ed603e15132f16c1812da0
Showing with 1 addition and 1 deletion.
  1. +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

Please sign in to comment.