mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Explicit conversion must be on freebsd gcc version
This commit is contained in:
parent
4c94bcd899
commit
765cb4fc2c
@ -83,8 +83,8 @@ void MemMonitor::draw(void) {
|
|||||||
mh = height_from_perc(mem_usedp, H);
|
mh = height_from_perc(mem_usedp, H);
|
||||||
sh = height_from_perc(swap_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, Y + H - mh, W2, mh, (Fl_Color)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 + W2, Y + H - sh, W2, sh, (Fl_Color)color_rgb_to_fltk(54, 136, 79));
|
||||||
}
|
}
|
||||||
|
|
||||||
EDE_PANEL_APPLET_EXPORT (
|
EDE_PANEL_APPLET_EXPORT (
|
||||||
|
Loading…
Reference in New Issue
Block a user