summaryrefslogtreecommitdiff
path: root/src/common/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/graph.c')
-rw-r--r--src/common/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/graph.c b/src/common/graph.c
index 4caa830e6..3602f511f 100644
--- a/src/common/graph.c
+++ b/src/common/graph.c
@@ -267,7 +267,7 @@ static int graph_draw_timer(int tid,unsigned int tick,int id,int data)
return 0;
}
-void graph_add_sensor(const char* string, int interval, unsigned int (*callback_func)(void))
+void graph_add_sensor(const unsigned char* string, int interval, unsigned int (*callback_func)(void))
{
int draw_interval = interval * 2;
struct graph *g = graph_create(GRP_WIDTH,GRP_HEIGHT);