X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/a562b4a9e91163116b73f2df7d6589d812d2278e..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