> How was it incorrect before? According to specs, enum types _can_ be unsigned and so the test would be always false. http://stackoverflow.com/questions/2579230/signedness-of-enum-in-c-c99-c-cx-gnu-c-gnu-c99 Cheers, Sylvain