string constant to 'char*' error

hi all.

i use this code for the nokia lcd screen.

void LcdWriteString(char *characters)
{
  while (*characters) LcdWriteCharacter(*characters++);
}

but now i get a error "warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]"

i also noticed the example on this Page

char* myStrings[]={"This is string 1", "This is string 2", "This is string 3",
"This is string 4", "This is string 5","This is string 6"};

you get the same error.

why is this?

ahh thanks for the reply.

the reason i ask it. is because i could not uplaod the sketch anymore.
but strange enough like allways it work ok again :confused: