(fix) avoid compilation warning

pull/201/head
Ludovic Marcotte 2016-02-21 07:27:42 -05:00
parent 4030cf86fd
commit aab87212d0
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ struct GlobalObjectId {
mimeType = [NGMimeType mimeType: [[thePart contentType] type]
subType: [[thePart contentType] subType]
parameters: [NSDictionary dictionaryWithObject: @"utf-8" forKey: @"charset"]];
[thePart setHeader: mimeType forKey: @"content-type"];
[(NGMimeBodyPart *)thePart setHeader: mimeType forKey: @"content-type"];
fdata = [[NGMimeFileData alloc] initWithBytes: [body bytes]
length: [body length]];