diff options
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,7 +117,7 @@ static double interpolate(const double val, const double min, const double max) } void waddbar(WINDOW *win, int y, float v, float min, float max, - char *cscale, bool rev) + int8_t *cscale, bool rev) { chtype ch = '=' | A_BOLD | cp_from_scale(v, cscale, rev); int len = MAXXLEN * interpolate(v, min, max); @@ -127,7 +127,7 @@ void waddbar(WINDOW *win, int y, float v, float min, float max, } void waddthreshold(WINDOW *win, int y, float v, float tv, - float minv, float maxv, char *cscale, chtype tch) + float minv, float maxv, int8_t *cscale, chtype tch) { if (tv > minv && tv < maxv) { if (v > tv) |