Convert char to const char

Hi,

I'm using an Ethernet shield and the TVOut Library to display any text data from any website. The TVOut requires a const char * to display text, but the Ethernet shield returns a regular char.Is there a way I can convert the regular char to a const char * ?

Thanks,

Michael

void f1 (char *p )
{
char s[] = "Gorm";
const char *pc = s ; // pointer to constant
pc [3] = ´g´; // error: pc points to constant
pc = p; // ok
char *const cp = s ; // constant pointer
cp [3] = ´a´; // ok
cp =p; / / error: cp is constant
const char *const cpc = s ; // const pointer to const
cpc [3] = ´a´; // error: cpc points to constant
cpc = p ; // error: cpc is constant
}

You can modify this way:

void g (const char *p )
{
// can’t modify *p here
}
void h()
{
char *ptr="hello" ; // ptr can be modified
g(ptr);
// ...
}