Fix some signed/unsigend warnings
Rolf Kalbermatter
rolf.kalbermatter at citeng.com
Thu Dec 12 08:12:58 CST 2002
Changelog
* dlls/shell32/changenotify.c
* dlls/shell32/clipboard.c
* dlls/shell32/dataobject.c
* dlls/shell32/dialogs.c
* dlls/shell32/shellord.c
Rolf Kalbermatter
Index: dlls/shell32/changenotify.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/changenotify.c,v
retrieving revision 1.18
diff -u -r1.18 changenotify.c
--- dlls/shell32/changenotify.c 21 Nov 2002 23:56:42 -0000 1.18
+++ dlls/shell32/changenotify.c 12 Dec 2002 13:59:43 -0000
@@ -63,7 +63,7 @@
while(ptr != &tail)
{
- int i;
+ UINT i;
item = ptr;
ptr = ptr->next;
@@ -119,7 +119,7 @@
if (ptr == item)
{
- int i;
+ UINT i;
TRACE("item=%p prev=%p next=%p\n", item, item->prev, item->next);
Index: dlls/shell32/clipboard.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/clipboard.c,v
retrieving revision 1.12
diff -u -r1.12 clipboard.c
--- dlls/shell32/clipboard.c 12 Nov 2002 01:05:00 -0000 1.12
+++ dlls/shell32/clipboard.c 12 Dec 2002 14:04:26 -0000
@@ -90,7 +90,7 @@
*/
HGLOBAL RenderHDROP(LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl)
{
- int i;
+ UINT i;
int rootsize = 0,size = 0;
char szRootPath[MAX_PATH];
char szFileName[MAX_PATH];
@@ -143,7 +143,8 @@
HGLOBAL RenderSHELLIDLIST (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl)
{
- int i,offset = 0, sizePidl, size;
+ UINT i;
+ int offset = 0, sizePidl, size;
HGLOBAL hGlobal;
LPIDA pcida;
Index: dlls/shell32/dataobject.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/dataobject.c,v
retrieving revision 1.33
diff -u -r1.33 dataobject.c
--- dlls/shell32/dataobject.c 8 Nov 2002 18:52:52 -0000 1.33
+++ dlls/shell32/dataobject.c 12 Dec 2002 14:05:07 -0000
@@ -145,7 +145,7 @@
static HRESULT WINAPI IEnumFORMATETC_fnNext(LPENUMFORMATETC iface, ULONG celt, FORMATETC *rgelt, ULONG *pceltFethed)
{
ICOM_THIS(IEnumFORMATETCImpl,iface);
- int i;
+ UINT i;
TRACE("(%p)->(%lu,%p)\n", This, celt, rgelt);
Index: dlls/shell32/dialogs.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/dialogs.c,v
retrieving revision 1.13
diff -u -r1.13 dialogs.c
--- dlls/shell32/dialogs.c 2 Dec 2002 18:10:58 -0000 1.13
+++ dlls/shell32/dialogs.c 12 Dec 2002 14:09:19 -0000
@@ -255,7 +255,7 @@
/* char szDbgMsg[256] = "" ; */
char *pszList = NULL, *pszCmd = NULL, cMatch = 0, cMax = 0x60, szIndex[2] = "-" ;
DWORD icList = 0, icCmd = 0 ;
- int Nix ;
+ UINT Nix ;
SendMessageA (hCb, CB_RESETCONTENT, 0, 0) ;
Index: dlls/shell32/shellord.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shellord.c,v
retrieving revision 1.108
diff -u -r1.108 shellord.c
--- dlls/shell32/shellord.c 6 Dec 2002 23:20:52 -0000 1.108
+++ dlls/shell32/shellord.c 12 Dec 2002 14:10:41 -0000
@@ -1364,7 +1364,7 @@
LPCITEMIDLIST *lppidlFiles,
LPDATAOBJECT *ppdataObject)
{
- INT i;
+ UINT i;
HWND hwnd = 0; /*FIXME: who should be hwnd of owner? set to desktop */
TRACE("(%p, %ld, %p, %p)\n", pidlFolder, cpidlFiles, lppidlFiles, ppdataObject);
More information about the wine-patches
mailing list