Files
xserver/hw/xwin
Jon TURNEY 4f8661fac9 hw/xwin: printf format fixes for LONG type
Some Win32 API types are different fundamental types in the 32-bit and 64-bit
versions.

This problem is then further compounded by the fact that whilst both 32-bit
Cygwin and 32-bit MinGW use the ILP32 data model, 64-bit MinGW uses the LLP64
data model, but 64-bit Cygwin uses the LP64 data model.

This makes it impossible to write printf format specifiers which are correct for
all those targets

In the Win32 API, DWORD is an signed, 32-bit type.  It is defined in terms of a
long, except in the LP64 data model, where it is an int.

It should always be safe to cast it to int and use %d.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2015-07-07 16:52:47 +01:00
..
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2015-03-23 16:01:58 +00:00
2015-03-23 16:01:58 +00:00
2014-11-12 10:25:00 +10:00
2012-03-21 13:54:42 -07:00
2014-11-12 10:25:00 +10:00
2013-07-23 23:59:27 +01:00
2014-10-09 09:27:21 +02:00
2013-07-23 23:59:27 +01:00
2015-03-23 16:01:58 +00:00
2015-03-23 16:01:58 +00:00
2012-03-21 13:54:42 -07:00
2014-11-12 10:25:00 +10:00