X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/8dad8db6544423018cfe3496b906af39bb3b3fbf..3d646c75403df6d5324833a701723a765555177f:/ITCarbonSupport.m diff --git a/ITCarbonSupport.m b/ITCarbonSupport.m index ed6a35c..75c5e53 100755 --- a/ITCarbonSupport.m +++ b/ITCarbonSupport.m @@ -1,9 +1,9 @@ #import "ITCarbonSupport.h" -NSString *NSStringFromFourCharCode(FourCharCode code) { +NSString *NSStringFromFourCharCode(unsigned long code) { return [NSString stringWithUTF8String:&code]; } -FourCharCode FourCharCodeFromNSString(NSString *string) { +unsigned long FourCharCodeFromNSString(NSString *string) { return (*((unsigned long*)[string UTF8String])); } \ No newline at end of file