include: Remove 'l' modifier from numeric constants in d3d9caps.h

Dmitry Timoshkov dmitry at baikal.ru
Wed Oct 26 06:17:19 CDT 2011


Chris Robinson <chris.kcat at gmail.com> wrote:

> 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 
> app.

What kind of odd behaviour? Both int and long are 32-bit in win32 and win64.

-- 
Dmitry.



More information about the wine-devel mailing list