OLE32: fix some warnings found with -Wsign-compare
Mike McCormack
mike at codeweavers.com
Sat Sep 4 01:09:24 CDT 2004
ChangeLog:
* fix some warnings found with -Wsign-compare
-------------- next part --------------
Index: dlls/ole32/compobj.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compobj.c,v
retrieving revision 1.101
diff -u -r1.101 compobj.c
--- dlls/ole32/compobj.c 2 Aug 2004 18:28:29 -0000 1.101
+++ dlls/ole32/compobj.c 4 Sep 2004 04:40:15 -0000
@@ -1290,7 +1290,7 @@
*
* Reads a registry value and expands it when necessary
*/
-HRESULT compobj_RegReadPath(char * keyname, char * valuename, char * dst, int dstlen)
+HRESULT compobj_RegReadPath(char * keyname, char * valuename, char * dst, DWORD dstlen)
{
HRESULT hres;
HKEY key;
@@ -1589,7 +1589,7 @@
IUnknown* pUnk = NULL;
HRESULT hr;
ULONG index;
- int successCount = 0;
+ ULONG successCount = 0;
/*
* Sanity check
More information about the wine-patches
mailing list