Negative enum

Required because of clang build failure.

Note that one commit is simply for removing trailing blank spaces.