git.ithinksw.org
/
ITFoundation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrading ITFoundation to Xcode 3.0 and the Mac OS X 10.5 SDK.
[ITFoundation.git]
/
ITCarbonSupport.m
diff --git
a/ITCarbonSupport.m
b/ITCarbonSupport.m
old mode 100755
(executable)
new mode 100644
(file)
index
ed6a35c
..
23b6f69
--- a/
ITCarbonSupport.m
+++ b/
ITCarbonSupport.m
@@
-1,9
+1,10
@@
#import "ITCarbonSupport.h"
#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
}
\ No newline at end of file