Fixed warning about unhandled cases.

Also, compiles with GCC with no problems.