Applied. Thanks. Soeren Sonnenburg wrote: > welcome to signed/unsigned hell... > > Index: backlight.c > =================================================================== > --- backlight.c (revision 60) > +++ backlight.c (working copy) > @@ -54,8 +54,8 @@ > OUTREG(0x7af8, 0x00000001 | ((unsigned int)value << 8)); > } > > -void write_backlight(unsigned char value) { > - unsigned int current = read_backlight(); > +void write_backlight(int value) { > + int current = read_backlight(); > > if (current < value) { > while (current < value) { > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Mactel-linux-devel mailing list > Mactel-linux-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel >
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mactel-linux-devel mailing list Mactel-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel