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/NSOpenGLPixelFormat.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java
index e3f786d166..71064881a6 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java
@@ -16,7 +16,7 @@ public NSOpenGLPixelFormat() {
super();
}
-public NSOpenGLPixelFormat(int /*long*/ id) {
+public NSOpenGLPixelFormat(long /*int*/ id) {
super(id);
}
@@ -24,12 +24,12 @@ public NSOpenGLPixelFormat(id id) {
super(id);
}
-public void getValues(int[] /*long[]*/ vals, int attrib, int screen) {
+public void getValues(long[] /*int[]*/ vals, int attrib, int screen) {
OS.objc_msgSend(this.id, OS.sel_getValues_forAttribute_forVirtualScreen_, vals, attrib, screen);
}
public id initWithAttributes(int[] attribs) {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithAttributes_, attribs);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_initWithAttributes_, attribs);
return result != 0 ? new id(result) : null;
}

Back to the top