summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java
index c8f89fb013..f73c79d2a3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java
@@ -24,21 +24,21 @@ public NSIndexSet(id id) {
super(id);
}
-public int count() {
- return OS.objc_msgSend(this.id, OS.sel_count);
+public int /*long*/ count() {
+ return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_count);
}
-public int getIndexes(int[] indexBuffer, int bufferSize, int range) {
- return OS.objc_msgSend(this.id, OS.sel_getIndexes_maxCount_inIndexRange_, indexBuffer, bufferSize, range);
+public int /*long*/ getIndexes(int[] /*long[]*/ indexBuffer, int /*long*/ bufferSize, int /*long*/ range) {
+ return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_getIndexes_maxCount_inIndexRange_, indexBuffer, bufferSize, range);
}
-public id initWithIndex(int value) {
- int result = OS.objc_msgSend(this.id, OS.sel_initWithIndex_, value);
+public id initWithIndex(int /*long*/ value) {
+ int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIndex_, value);
return result != 0 ? new id(result) : null;
}
public id initWithIndexesInRange(NSRange range) {
- int result = OS.objc_msgSend(this.id, OS.sel_initWithIndexesInRange_, range);
+ int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIndexesInRange_, range);
return result != 0 ? new id(result) : null;
}