Fix signed/unsigned warnings in oleaut32/safearray test
Francois Gouget
fgouget at free.fr
Mon Dec 23 21:40:51 CST 2002
Changelog:
* dlls/oleaut32/tests/safearray.c
Fix signed/unsigned warnings
Index: dlls/oleaut32/tests/safearray.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/tests/safearray.c,v
retrieving revision 1.1
diff -u -r1.1 safearray.c
--- dlls/oleaut32/tests/safearray.c 23 Dec 2002 02:02:49 -0000 1.1
+++ dlls/oleaut32/tests/safearray.c 24 Dec 2002 03:16:35 -0000
@@ -37,7 +37,7 @@
#include "oleauto.h"
#define VARTYPE_NOT_SUPPORTED 0
-static int vttypes[] = {
+static ULONG vttypes[] = {
/* this is taken from wtypes.h. Only [S]es are supported by the SafeArray */
VARTYPE_NOT_SUPPORTED, /* VT_EMPTY [V] [P] nothing */
VARTYPE_NOT_SUPPORTED, /* VT_NULL [V] [P] SQL style Nul */
@@ -88,7 +88,7 @@
START_TEST(safearray)
{
SAFEARRAY *a;
- int i;
+ unsigned short i;
HRESULT hres;
SAFEARRAYBOUND bound;
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Stolen from an Internet user:
"f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng !"
More information about the wine-patches
mailing list