AnsweredAssumed Answered

C1860: Pointeer conversion: Possible loss of data

Question asked by Herman van Ruitenbeek on Dec 28, 2009
Latest reply on Dec 28, 2009 by CompilerGuru


I have working code written somewhere in 2004. Now I need a little change and have CW6.3 special edition (just downloaded) to do in with.

The MC9S08GT32 device is used.


There's a function:

void mDisplayText(unsigned char cX, unsigned char cY, char *zsTekst)

which is called like

mDisplayText(12, 2, "Batt");


Replacing the function with

void mDisplayText(unsigned char cX, unsigned char cY)

mDisplayText(12, 2);

indicates the string parameter is the issue.


Now I get the C1860 error. I do understand the error and the pointer thing but don't know how to solve it.


Can anyone help?

Thanks in advance