[MPlayer-dev-eng] Re: [PATCH] loader compiler warnings

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Apr 9 11:01:56 CEST 2004


On Friday, 09 April 2004 at 07:42, adland wrote:
> > If HANDLE isn't a pointer type, then casting NULL to a HANDLE is even
> > more dumb. You should return 0.
> 
> looked into the file loader/wine/windef.h to see the definition
> 
> it is somewhat complicated it may be a pointer in some cases.
[...]
> seems to have a definition which depends on STRICT
> which is only true if sizeof (UINT) == sizeof (void*)
> according to the text

Thanks for bringing that up, I forgot about that. So, casting NULL to HANDLE
is not so dumb after all. ;)

-- 
MPlayer RPMs maintainer: http://greysector.rangers.eu.org/mplayer.html
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-dev-eng mailing list