Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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.java8
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 5799811802..c7d88d329c 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
@@ -16,7 +16,7 @@ public NSError() {
super();
}
-public NSError(int /*long*/ id) {
+public NSError(long /*int*/ id) {
super(id);
}
@@ -24,17 +24,17 @@ public NSError(id id) {
super(id);
}
-public int /*long*/ code() {
+public long /*int*/ code() {
return OS.objc_msgSend(this.id, OS.sel_code);
}
public NSString localizedDescription() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_localizedDescription);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_localizedDescription);
return result != 0 ? new NSString(result) : null;
}
public NSDictionary userInfo() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo);
return result != 0 ? new NSDictionary(result) : null;
}

Back to the top