Compilation: fix enum confusion.