diff options
author | Silenio Quarti <silenio> | 2008-08-18 15:14:00 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2008-08-18 15:14:00 +0000 |
commit | 114a90e9c5c0a4fae8a6509db4dd3947871a06a6 (patch) | |
tree | 9e22800b8fd3eb5e9d420a613644bfcbab975e8e /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java | |
parent | 047551711731234f55bfa1e053304f3a7d2a17a6 (diff) | |
download | eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.tar.gz eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.tar.xz eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.zip |
64 bit work
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.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/NSMutableArray.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java index c2e047fbbf..35664fd185 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java @@ -28,13 +28,13 @@ public void addObject(id anObject) { OS.objc_msgSend(this.id, OS.sel_addObject_, anObject != null ? anObject.id : 0); } -public static NSMutableArray arrayWithCapacity(int numItems) { - int result = OS.objc_msgSend(OS.class_NSMutableArray, OS.sel_arrayWithCapacity_, numItems); +public static NSMutableArray arrayWithCapacity(int /*long*/ numItems) { + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableArray, OS.sel_arrayWithCapacity_, numItems); return result != 0 ? new NSMutableArray(result) : null; } public static NSArray arrayWithObject(id anObject) { - int result = OS.objc_msgSend(OS.class_NSMutableArray, OS.sel_arrayWithObject_, anObject != null ? anObject.id : 0); + int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableArray, OS.sel_arrayWithObject_, anObject != null ? anObject.id : 0); return result != 0 ? new NSMutableArray(result) : null; } |