Fixed more build warnings

This commit is contained in:
Pierre-Olivier Latour
2014-01-29 09:14:23 -08:00
parent 0f2f22a1b0
commit 36658278f8
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -243,7 +243,7 @@
type = kGCDWebServerDefaultMimeType;
}
if ((self = [super initWithContentType:type contentLength:info.st_size])) {
if ((self = [super initWithContentType:type contentLength:(NSUInteger)info.st_size])) {
_path = [path copy];
if (attachment) { // TODO: Use http://tools.ietf.org/html/rfc5987 to encode file names with special characters instead of using lossy conversion to ISO 8859-1
NSData* data = [[path lastPathComponent] dataUsingEncoding:NSISOLatin1StringEncoding allowLossyConversion:YES];