[Bug 50059] compilation error with gcc 8.3.0 unsigned int -> long unsigned int

WineHQ Bugzilla wine-bugs at winehq.org
Tue May 25 13:21:23 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=50059

François Gouget <fgouget at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fgouget at codeweavers.com
           Keywords|                            |patch

--- Comment #1 from François Gouget <fgouget at codeweavers.com> ---
I believe it would be better to avoid printing this type of 'variable size' int
to avoid all these compiler compatibility issues.
Note also that this is not the only place where '%#Ix' is used (see
dlls/atl/atl_ax.c, dlls/kernelbase/process.c, dlls/quartz/vmr9.c, etc).

Maybe something like this?

-    WARN("iface %p, callback %p, context %p, arg3 %#Ix, stub!\n", iface,
callback, context, arg3);
+    WARN("iface %p, callback %p, context %p, arg3 %p, stub!\n", iface,
callback, context, (void*)arg3);

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list