From f5f8117b2d948d984681b61cb5ee1ae8537deeee Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Wed, 25 Apr 2012 10:35:53 +0000 Subject: [PATCH] color is a unsigned int not a float --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 27e0ba0..c43889b 100644 --- a/src/main.c +++ b/src/main.c @@ -252,7 +252,7 @@ static void associate_colors(struct psensor **sensors) unsigned int colors[COLORS_COUNT][3] = { {0x0000, 0x0000, 0x0000}, /* black */ {0xffff, 0x0000, 0x0000}, /* red */ - {0x0000, 0.0000, 0xffff}, /* blue */ + {0x0000, 0x0000, 0xffff}, /* blue */ {0x0000, 0xffff, 0x0000}, /* green */ {0x7fff, 0x7fff, 0x7fff}, /* grey */ -- 2.7.4