Andrew Talbot : oledlg: Sign-compare warnings fix.

Alexandre Julliard julliard at winehq.org
Tue Nov 4 07:29:18 CST 2008


Module: wine
Branch: master
Commit: ac9e832722232eaaad504aab62c290c9b4636d7b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ac9e832722232eaaad504aab62c290c9b4636d7b

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Mon Nov  3 22:42:02 2008 +0000

oledlg: Sign-compare warnings fix.

---

 dlls/oledlg/pastespl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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-cvs mailing list