More msvcrt scanf tests

Robert Shearman R.J.Shearman at warwick.ac.uk
Tue Feb 24 10:02:05 CST 2004


Uwe Bonnes wrote:
>
>     Alexandre> Long long constants are not portable, you need to compute
>     Alexandre> them from long constants.
>
> The wine code is sprankled with LONGLONG constants, e.g.:
>
> dlls/oleaut32/variant.c:        LONGLONG     lVal = -1;
>

He means constants like 0x12345689LL. You have to do this instead:
(LONGLONG)0x1 << 32 | (LONGLONG)0x23456789.

Rob





More information about the wine-devel mailing list