[PATCH 3/3] configure: Use 0 instead of NULL because NULL isn't defined.

Alexandre Julliard julliard at winehq.org
Sat Oct 20 04:12:10 CDT 2007


Michael Stefaniuc <mstefani at redhat.com> writes:

> Actually it's not a cast. It's a heuristic that the compiler has to make
> to detect a NULL pointer. The best heuristic for this is (char *) 0.

There's no heuristic involved here, the assignment is clearly to a
pointer, and 0 is a perfectly valid null pointer, no cast is needed.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list