quartz: Check allocation failure and clear memoryinDSound Renderer

Alexandre Julliard julliard at winehq.org
Fri Mar 9 10:16:35 CST 2007


"Dmitry Timoshkov" <dmitry at codeweavers.com> writes:

> Have you read it at all? NULL is guaranteed to be 0 in all contexts.
>
> If some C++ compiler decides to generate not 0 data while converting/casting
> a NULL pointer, it should be declared broken.

The point is that (void*)0 isn't guaranteed to be represented by an
all-zero bit pattern; but that's the case on any platform worth
worrying about.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list