Alexandre Julliard wrote:
Robert Shearman rob@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