Get rid of gcc warning about enum values

Signed-off-by: Christopher Li <sparse@chrisli.org>