diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java index 6947c2bac8..d109d5c364 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java @@ -16,7 +16,7 @@ public NSThread() { super(); } -public NSThread(int /*long*/ id) { +public NSThread(long /*int*/ id) { super(id); } @@ -25,7 +25,7 @@ public NSThread(id id) { } public static NSThread currentThread() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSThread, OS.sel_currentThread); + long /*int*/ result = OS.objc_msgSend(OS.class_NSThread, OS.sel_currentThread); return result != 0 ? new NSThread(result) : null; } @@ -34,7 +34,7 @@ public static boolean isMainThread() { } public NSMutableDictionary threadDictionary() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_threadDictionary); + long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_threadDictionary); return result != 0 ? new NSMutableDictionary(result) : null; } |