handle the underlying int type when creating an enum