Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarolyn MacLeod2012-03-07 16:40:35 -0500
committerCarolyn MacLeod2012-03-07 16:40:35 -0500
commit4531a4cbb8748e1e247b44157a3c7d317922559f (patch)
treedf70a6b3832011bc209a9ab4b8283aa27537a52a
parent8611224d7ba613c3fe32d29680e4a360b4cce018 (diff)
downloadeclipse.platform.swt-4531a4cbb8748e1e247b44157a3c7d317922559f.tar.gz
eclipse.platform.swt-4531a4cbb8748e1e247b44157a3c7d317922559f.tar.xz
eclipse.platform.swt-4531a4cbb8748e1e247b44157a3c7d317922559f.zip
64-bit
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ColorDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ColorDialog.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ColorDialog.java
index 6810c32d96..5001bbde74 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ColorDialog.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ColorDialog.java
@@ -152,7 +152,7 @@ public RGB open() {
}
if (rgbs != null) {
NSArray keys = colorList.allKeys();
- int length = keys.count();
+ int length = (int)/*64*/keys.count();
for (int i=length-1; i>=0; i--) {
colorList.removeColorWithKey(new NSString(keys.objectAtIndex(i)));
}
@@ -190,7 +190,7 @@ public RGB open() {
}
}
NSArray keys = colorList.allKeys();
- int length = keys.count();
+ int length = (int)/*64*/keys.count();
rgbs = new RGB[length];
for (int i=0; i<length; i++) {
NSString key = new NSString(keys.objectAtIndex(i));

Back to the top