Type cast from unsigned const char * to char const *

c, c++, visual-c++

Solution

(const char *) my_signed_char

In C++ there are more idiomatic ways to cast this, but since you are using strcpy you are not programming idiomatic C++ it seems.

Problem

I want to convert `unsigned const char *` to `char const *` for passing into `strcpy` function Please suggest some method

Original source