<<On Thu, 20 May 2004 13:53:49 -0400, Ken Hornstein <[EMAIL PROTECTED]> said:

> Turns out you learn something new every day.  However ... I'm not sure
> this is necessarily the correct approach.  From what I've read, NULL is
> not guaranteed to be ((void *) 0) (or something similar).  I think
> the best solution is to have an explicit cast in that statement.

In the C language at least, an explicit cast is the *only* solution.
Passing NULL to a variadic function without casting it to the expected
pointer type is an error.

-GAWollman

_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to