Fix Sparse Warnings for server/

Robert Shearman rob at codeweavers.com
Mon May 23 10:23:14 CDT 2005


Alexandre Julliard wrote:

>Robert Shearman <rob at codeweavers.com> writes:
>
>  
>
>>Changelog:
>>Fix sparse warnings.
>>    
>>
>
>sparse should be taught that 0 is a perfectly fine value (and IMO
>preferable to NULL) for handles.
>

I don't really understand this reasoning. Should gcc also be taught not 
to warn when we try to assign -1 to a handle? Are we using the wrong 
type for usr_handle_t then?

Rob



More information about the wine-devel mailing list