Fix compiler warning
Ulrich Drepper
drepper@redhat.com
Fri Jul 14 13:39:00 GMT 2000
"H . J . Lu" <hjl@lucon.org> writes:
> Why not (void *) which is used in prototype?
Mark copied only what I did in similar places (or at least I can
explain it this way). I prefer char* here since it shows that this is
actually a modifiable string. If I use a cast to void* I normally do
something much dirtier, like casting a long to a pointer.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-hacker
mailing list