aboutsummaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui.c b/ui.c
index 14e47d1..ce5262b 100644
--- a/ui.c
+++ b/ui.c
@@ -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)