color is a unsigned int not a float
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 25 Apr 2012 10:35:53 +0000 (10:35 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 25 Apr 2012 10:35:53 +0000 (10:35 +0000)
src/main.c

index 27e0ba0..c43889b 100644 (file)
@@ -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 */