From 765cb4fc2c5f0b7abdf62e10e8a9128da0c853ba Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Sat, 29 Oct 2011 16:10:41 +0000 Subject: [PATCH] Explicit conversion must be on freebsd gcc version --- ede-panel/applets/mem-monitor/MemMonitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ede-panel/applets/mem-monitor/MemMonitor.cpp b/ede-panel/applets/mem-monitor/MemMonitor.cpp index 8aae45c..31fbf9e 100644 --- a/ede-panel/applets/mem-monitor/MemMonitor.cpp +++ b/ede-panel/applets/mem-monitor/MemMonitor.cpp @@ -83,8 +83,8 @@ void MemMonitor::draw(void) { mh = height_from_perc(mem_usedp, H); sh = height_from_perc(swap_usedp, H); - fl_rectf(X, Y + H - mh, W2, mh, color_rgb_to_fltk(166, 48, 48)); - fl_rectf(X + W2, Y + H - sh, W2, sh, color_rgb_to_fltk(54, 136, 79)); + fl_rectf(X, Y + H - mh, W2, mh, (Fl_Color)color_rgb_to_fltk(166, 48, 48)); + fl_rectf(X + W2, Y + H - sh, W2, sh, (Fl_Color)color_rgb_to_fltk(54, 136, 79)); } EDE_PANEL_APPLET_EXPORT (