oledlg: Sign-compare warnings fix

Andrew Talbot andrew.talbot at talbotville.com
Mon Nov 3 16:42:02 CST 2008


Changelog:
    oledlg: Sign-compare warnings fix.

diff --git a/dlls/oledlg/pastespl.c b/dlls/oledlg/pastespl.c
index 68bad06..ae5e2f2 100644
--- a/dlls/oledlg/pastespl.c
+++ b/dlls/oledlg/pastespl.c
@@ -648,7 +648,7 @@ UINT WINAPI OleUIPasteSpecialA(LPOLEUIPASTESPECIALA psA)
     if(psA->cPasteEntries > 0)
     {
         DWORD size = psA->cPasteEntries * sizeof(ps.arrPasteEntries[0]);
-        UINT i;
+        INT i;
 
         ps.arrPasteEntries = HeapAlloc(GetProcessHeap(), 0, size);
         memcpy(ps.arrPasteEntries, psA->arrPasteEntries, size);
@@ -665,7 +665,7 @@ UINT WINAPI OleUIPasteSpecialA(LPOLEUIPASTESPECIALA psA)
 
     if(psA->cPasteEntries > 0)
     {
-        UINT i;
+        INT i;
         for(i = 0; i < psA->cPasteEntries; i++)
         {
             HeapFree(GetProcessHeap(), 0, (WCHAR*)ps.arrPasteEntries[i].lpstrFormatName);



More information about the wine-patches mailing list