]> err.no Git - sope/blobdiff - sope-mime/NGMime/NGMimeTextBodyGenerator.m
fixed yet another issue with compilation on Cocoa ;-)
[sope] / sope-mime / NGMime / NGMimeTextBodyGenerator.m
index a535dcc7c1b5f45a6a7929bec6673ae204bc3158..05a895eb9d71497e0362100bdfe0f1583f3b7dac 100644 (file)
@@ -84,7 +84,7 @@
     
     if ([charset isNotEmpty]) {
 #if NeXT_Foundation_LIBRARY || COCOA_Foundation_LIBRARY
-      encoding = (NSString *)[NSString stringEncodingForEncodingNamed:charset];
+      encoding = [NSString stringEncodingForEncodingNamed:charset];
 #else
       encoding = [self _encodingFromContentType:[_part contentType]];
 #endif