The new file dlls/oleaut32/tests/vartype.c, add by the following commit

  revision 1.1
  date: 2003/12/11 05:25:44;  author: julliard;  state: Exp;
  Jon Griffiths <[EMAIL PROTECTED]>
  Test almost all of the low level variant functions

adds a couple of warnings:

  vartype.c:4118: warning: integer constant is too large for "long" type
  vartype.c:4118: warning: integer constant is too large for "long" type
  vartype.c:4118: warning: integer constant is too large for "long" type
  vartype.c:4119: warning: integer constant is too large for "long" type
  vartype.c:4119: warning: integer constant is too large for "long" type
  vartype.c:4119: warning: integer constant is too large for "long" type

The problem is, that in the use of EXPECTDEC(0,0,0,0x100000000), the
constant is 0x100000000 is too large for both long and unsigned long.

This could be addressed by writing it as 0x100000000ULL (unsigned long
long), but in that case the uses in the EXPECTDEC macro seem wrong, as
they cast the value to long and unsigned long, respectively.

Gerald
-- 
Gerald Pfeifer (Jerry)   [EMAIL PROTECTED]   http://www.pfeifer.com/gerald/

Reply via email to