diff --git a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java index c1168f17f..632114faa 100644 --- a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java +++ b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java @@ -170,9 +170,9 @@ final class AWTPlotRenderer extends AbstractPlotRenderer } if (ref.getPeeledObjectId() != null) { float[] colorComponents = g.getBackground().getRGBColorComponents(null); - colorComponents[0] *= 0.9; - colorComponents[1] *= 0.9; - colorComponents[2] *= 0.9; + colorComponents[0] *= 0.9f; + colorComponents[1] *= 0.9f; + colorComponents[2] *= 0.9f; g.setBackground(new Color(colorComponents[0],colorComponents[1],colorComponents[2])); } if (txt.length() > 12)