diff options
author | Silenio Quarti <silenio> | 2008-08-18 15:14:00 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2008-08-18 15:14:00 +0000 |
commit | 114a90e9c5c0a4fae8a6509db4dd3947871a06a6 (patch) | |
tree | 9e22800b8fd3eb5e9d420a613644bfcbab975e8e /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java | |
parent | 047551711731234f55bfa1e053304f3a7d2a17a6 (diff) | |
download | eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.tar.gz eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.tar.xz eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.zip |
64 bit work
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java index 52249f0e47..397d7b402d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java @@ -24,17 +24,17 @@ public NSError(id id) { super(id); } -public int code() { - return OS.objc_msgSend(this.id, OS.sel_code); +public int /*long*/ code() { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_code); } public NSString localizedDescription() { - int result = OS.objc_msgSend(this.id, OS.sel_localizedDescription); + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_localizedDescription); return result != 0 ? new NSString(result) : null; } public NSDictionary userInfo() { - int result = OS.objc_msgSend(this.id, OS.sel_userInfo); + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo); return result != 0 ? new NSDictionary(result) : null; } |