include: Remove 'l' modifier from numeric constants in d3d9caps.h
chris.kcat at gmail.com
Wed Oct 26 05:58:40 CDT 2011
On Wednesday, October 26, 2011 12:35:28 PM Michael Stefaniuc wrote:
> Chris Robinson wrote:
> > imagine some C++ function overrides tripping up with the int/long
> > difference.
> If you use the Wine headers this should actually fix it as it brings the
> numeric constants in line with the types as LONG == int in Wine.
For Wine it doesn't really matter, since we can't use C++. For mingw-w64,
however, it could be a big problem if it's not properly typed as a long.
Overloads and template types would silently use 'int' where it should be using
'long', and you wouldn't necessarily know until you see odd behavior in the
More information about the wine-devel