a simple cast
char *baz = (char*)foo;
works for me.
At Mon, 25 Feb 2002 21:59:23 -0700 (MST),
M. Warner Losh <[EMAIL PROTECTED]> wrote:
> In message: <[EMAIL PROTECTED]>
> Peter Wemm <[EMAIL PROTECTED]> writes:
> : There are a couple of offending files in the kernel still, and some
> : drivers. The things people are most likely to run into are: usb, inet6,
> : and some drivers (twe, asr etc).
> 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.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message