#import "ITCarbonSupport.h"
+#import "ITCategory-NSString.h"
-NSString *NSStringFromFourCharCode(FourCharCode code) {
- return [NSString stringWithUTF8String:&code];
+NSString *NSStringFromFourCharCode(unsigned long code) {
+ return [NSString stringWithFourCharCode:code];
}
-FourCharCode FourCharCodeFromNSString(NSString *string) {
- return (*((unsigned long*)[string UTF8String]));
+unsigned long FourCharCodeFromNSString(NSString *string) {
+ return [string fourCharCode];
}
\ No newline at end of file