[PATCH v2 1/4] ws2_32/tests: Use %u and %zu in test_ipv6_cmsg instead of casting

Zebediah Figura (she/her) zfigura at codeweavers.com
Tue Sep 28 15:04:49 CDT 2021


On 9/28/21 15:03, Alex Henrie wrote:
> On Tue, Sep 28, 2021 at 1:46 PM Zebediah Figura (she/her)
> <zfigura at codeweavers.com> wrote:
>>
>> Sorry, I suggested %zu, but I get warnings here when actually using it
>> with mingw. IIRC only ucrtbase (and recent versions of msvcrt?) actually
>> support it anyway, so I guess %Iu is the right solution.
> 
> Wouldn't %lu cause warnings on 64-bit MSVC? %llu should work everywhere though.

That's a capital I, not a lowercase L. %Iu is always pointer-sized.



More information about the wine-devel mailing list