Rob Shearman : comctl32: Fix the signedness of i, oldNumParts and nTipCount in STATUSBAR_SetParts.
Alexandre Julliard
julliard at winehq.org
Mon Feb 25 06:50:56 CST 2008
Module: wine
Branch: master
Commit: e145242671f577748521410f37a87fc198f977f1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e145242671f577748521410f37a87fc198f977f1
Author: Rob Shearman <rob at codeweavers.com>
Date: Fri Feb 22 19:17:24 2008 +0000
comctl32: Fix the signedness of i, oldNumParts and nTipCount in STATUSBAR_SetParts.
---
dlls/comctl32/status.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c
index 2551e0a..e704635 100644
--- a/dlls/comctl32/status.c
+++ b/dlls/comctl32/status.c
@@ -668,7 +668,7 @@ static BOOL
STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts)
{
STATUSWINDOWPART *tmp;
- int i, oldNumParts;
+ UINT i, oldNumParts;
TRACE("(%d,%p)\n", count, parts);
@@ -700,7 +700,7 @@ STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts)
infoPtr->parts[i].x = parts[i];
if (infoPtr->hwndToolTip) {
- INT nTipCount, i;
+ UINT nTipCount;
TTTOOLINFOW ti;
ZeroMemory (&ti, sizeof(TTTOOLINFOW));
More information about the wine-cvs
mailing list