Gerald Pfeifer : comctl32: tooltips: Adjust the type of three loop variables from INT to UINT.
Alexandre Julliard
julliard at winehq.org
Mon Jun 23 07:35:31 CDT 2008
Module: wine
Branch: master
Commit: bc588e6a37fea72f7a39ab1d65f1f07df4449d47
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bc588e6a37fea72f7a39ab1d65f1f07df4449d47
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Jun 21 19:51:01 2008 +0200
comctl32: tooltips: Adjust the type of three loop variables from INT to UINT.
---
dlls/comctl32/tooltips.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index 48d7757..fb2191b 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -883,7 +883,7 @@ static INT
TOOLTIPS_GetToolFromInfoA (const TOOLTIPS_INFO *infoPtr, const TTTOOLINFOA *lpToolInfo)
{
TTTOOL_INFO *toolPtr;
- INT nTool;
+ UINT nTool;
for (nTool = 0; nTool < infoPtr->uNumTools; nTool++) {
toolPtr = &infoPtr->tools[nTool];
@@ -910,7 +910,7 @@ static INT
TOOLTIPS_GetToolFromInfoW (const TOOLTIPS_INFO *infoPtr, const TTTOOLINFOW *lpToolInfo)
{
TTTOOL_INFO *toolPtr;
- INT nTool;
+ UINT nTool;
for (nTool = 0; nTool < infoPtr->uNumTools; nTool++) {
toolPtr = &infoPtr->tools[nTool];
@@ -937,7 +937,7 @@ static INT
TOOLTIPS_GetToolFromPoint (const TOOLTIPS_INFO *infoPtr, HWND hwnd, const POINT *lpPt)
{
TTTOOL_INFO *toolPtr;
- INT nTool;
+ UINT nTool;
for (nTool = 0; nTool < infoPtr->uNumTools; nTool++) {
toolPtr = &infoPtr->tools[nTool];
More information about the wine-cvs
mailing list