removed warning
c++98
use enum Prototype for c++98

removes lots of warnings