Re: invalid conversion from `UCHR* const' to `const char

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Hembree, Dr. Louis" <louis.hembree@xxxxxxxxxxxxxxx> writes:

> string.cxx:577: error: invalid conversion from `UCHR* const' to `const
> char*'

This says that you are trying to pass a value of type "unsigned char*'
to a parameter of type "const char*".  The types "unsigned char*" and
"char*" are not assignment compatible.  You need to add a cast.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux