B-0 Fixed small warning missing typecast.

VS doesn't like assigning a regular number to an enum