summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java
index 16be33739e..8feaf57b82 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java
@@ -16,7 +16,7 @@ public NSPrinter() {
super();
}
-public NSPrinter(int /*long*/ id) {
+public NSPrinter(long /*int*/ id) {
super(id);
}
@@ -25,17 +25,17 @@ public NSPrinter(id id) {
}
public NSString name() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_name);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_name);
return result != 0 ? new NSString(result) : null;
}
public static NSArray printerNames() {
- int /*long*/ result = OS.objc_msgSend(OS.class_NSPrinter, OS.sel_printerNames);
+ long /*int*/ result = OS.objc_msgSend(OS.class_NSPrinter, OS.sel_printerNames);
return result != 0 ? new NSArray(result) : null;
}
public static NSPrinter printerWithName(NSString name) {
- int /*long*/ result = OS.objc_msgSend(OS.class_NSPrinter, OS.sel_printerWithName_, name != null ? name.id : 0);
+ long /*int*/ result = OS.objc_msgSend(OS.class_NSPrinter, OS.sel_printerWithName_, name != null ? name.id : 0);
return result != 0 ? new NSPrinter(result) : null;
}