fixes heap corruption if sizeof(enum fann_activationfunc_enum) < sizeof(unsigned int), e.g. -fshort-enums