aa83c61f51
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 unsigned, 32-bit type. It is defined in terms of an unsigned long, except in the LP64 data model, where it is an unsigned int. It should always be safe to cast it to unsigned int and use %u or %x. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net> |
||
---|---|---|
.. | ||
.gitignore | ||
gen_gl_wrappers.py | ||
glshim.c | ||
glthunk.c | ||
glwindows.h | ||
indirect.c | ||
Makefile.am | ||
wgl_ext_api.c | ||
wgl_ext_api.h | ||
winpriv.c | ||
winpriv.h |