Sylvain Munaut wrote:
How was it incorrect before?
According to specs, enum types _can_ be unsigned and so the test would be always false.
Ok. I thought perhaps the first enum was set to 0, which guarantees that all following enums are positive integers.
//Peter