On Mon, Dec 09, 2013 at 12:59:33PM +0100, Samuel Thibault wrote: > No, it's really commenting c != K_DONE which makes the warning away. My > current guess is that c gets implicitly casted to int instead of > unsigned int.
Just to make sure, I've switched char_idx and max to unsigned int and the warning disappeared. -- Richard Braun