On Mon, 2002-02-25 at 20:59, M. Warner Losh wrote:
> I've fixed a few of the low hanging fruit, but I don't know how to get
> rid of warnings like:
> 
> const char *foo = "blah";
> char *baz = foo;
> 
> when I know they are safe.

Correct me if I'm wrong, but isn't the correct declaration:

const char foo[] = "blah";
char baz[] = "foo";

cheers,
mike makonnen



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to