Huge update to ITFoundation. I've gone through every file (except queue.h
[ITFoundation.git] / ITCarbonSupport.m
old mode 100755 (executable)
new mode 100644 (file)
index 75c5e53..9e8d1ee
@@ -1,9 +1,9 @@
 #import "ITCarbonSupport.h"
 
 NSString *NSStringFromFourCharCode(unsigned long code) {
-    return [NSString stringWithUTF8String:&code];
+       return [NSString stringWithUTF8String:(const char *)&code];
 }
 
 unsigned long FourCharCodeFromNSString(NSString *string) {
-    return (*((unsigned long*)[string UTF8String]));
+       return (*((unsigned long*)[string UTF8String]));
 }
\ No newline at end of file