diff options
author | Bogdan Gheorghe <gheorghe@ca.ibm.com> | 2012-01-16 18:23:56 -0500 |
---|---|---|
committer | Bogdan Gheorghe <gheorghe@ca.ibm.com> | 2012-01-16 18:23:56 -0500 |
commit | e5156af254f001f30eedd6515204a3510e7e65b4 (patch) | |
tree | 36b6841b8f879ccde6b33cc6f55f95a90dd5def4 /bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse | |
parent | 072f112c3a8e0eaf8d7483047fe74456c1ef324c (diff) | |
download | eclipse.platform.swt-e5156af254f001f30eedd6515204a3510e7e65b4.tar.gz eclipse.platform.swt-e5156af254f001f30eedd6515204a3510e7e65b4.tar.xz eclipse.platform.swt-e5156af254f001f30eedd6515204a3510e7e65b4.zip |
Fix for broken build
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java index e0261a92fb..1afd744182 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java @@ -384,7 +384,7 @@ public void addString(String string, float x, float y, Font font) { range = layoutManager.glyphRangeForTextContainer(textContainer); if (range.length != 0) { int /*long*/ glyphs = OS.malloc((range.length + 1) * 4); - int count = layoutManager.getGlyphs(glyphs, range); + int /*long*/ count = layoutManager.getGlyphs(glyphs, range); NSBezierPath path = NSBezierPath.bezierPath(); for (int i = 0; i < count; i++) { NSPoint pt = layoutManager.locationForGlyphAtIndex(i); |