aboutsummaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2016-01-30 17:08:40 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2016-01-30 17:08:40 +0000
commit0b0aac6ce21bcb38d7e03dc2b3ff419861476a24 (patch)
treecaa65d08ef64dfd060a749ccc690efd7bcc2a7b3 /ui.c
parentd7ca0c3e555ef0b5250873ddce48ccf2326b017a (diff)
downloadwavemon-0b0aac6ce21bcb38d7e03dc2b3ff419861476a24.tar.gz
Imported Upstream version 0.8.0upstream/0.8.0
Diffstat (limited to '')
-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)