Index: third_party/icon_family/NSString+CarbonFSRefCreation.m |
diff --git a/third_party/icon_family/NSString+CarbonFSRefCreation.m b/third_party/icon_family/NSString+CarbonFSRefCreation.m |
index 723de8b8692a5c19abe4311be0b4b24a5da4954c..fb86c52fc5c0f7cf4211f565398d08466175df8e 100644 |
--- a/third_party/icon_family/NSString+CarbonFSRefCreation.m |
+++ b/third_party/icon_family/NSString+CarbonFSRefCreation.m |
@@ -23,7 +23,7 @@ |
// Check whether the file exists already. If not, create an empty file if requested. |
if (![fileManager fileExistsAtPath:self]) { |
if (createFile) { |
- if (![[NSData data] writeToFile:self atomically:YES]) { |
+ if (![(NSData*)[NSData data] writeToFile:self atomically:YES]) { |
return NO; |
} |
} else { |