Richard Braun, le Mon 09 Dec 2013 14:10:32 +0100, a écrit : > 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.
Hum :) I guess for some reason commenting c != K_DONE was triggering other optimization paths, which were not making the assumption at stake. I have commited make them unsigned then. Samuel