DESC
Make flags 32 bits and unsigned, as they should be.
EDESC
Make flags 32 bits and unsigned, as they should be.

