C: cast PVX to char* from const char or ptr_undef

to avoid warning: initialization from incompatible pointer type