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

Alex Henrie alexhenrie24 at gmail.com
Tue Sep 28 15:03:03 CDT 2021


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.

-Alex



More information about the wine-devel mailing list