C++ fixes in cmd0.c

Fixes C++ compiler warnings for unsigned char and anonymous struct.