[PATCH 05/14] dlls/devenum: use correct integral type

Alexandre Julliard julliard at winehq.org
Wed Feb 2 03:38:43 CST 2022


Zebediah Figura <zfigura at codeweavers.com> writes:

> On 1/31/22 07:14, Eric Pouech wrote:
>> Note: I voluntarly used 'unsigned long' and not ULONG as SDK and MSDN
>> state that unsigned long is the type to be used in the API.
>> Even if Wine's headers declare the prototype with ULONG instead.
>> Wine's headers are potentially to be fixed accordingly.
>
> This would break the build without MinGW, though. I was under the
> impression it wasn't officially unsupported yet. If that's changed by 
> now I'd have expected it to be more clearly announced.

It hasn't changed. Any direct use of 'long' in Wine code is basically a bug.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list