comctl32: tooltips: Adjust the type of three loop variables from INT to UINT.

This commit is contained in:
Gerald Pfeifer 2008-06-21 19:51:01 +02:00 committed by Alexandre Julliard
parent 25b79fafe3
commit bc588e6a37
1 changed files with 3 additions and 3 deletions

View File

@ -883,7 +883,7 @@ static INT
TOOLTIPS_GetToolFromInfoA (const TOOLTIPS_INFO *infoPtr, const TTTOOLINFOA *lpToolInfo) TOOLTIPS_GetToolFromInfoA (const TOOLTIPS_INFO *infoPtr, const TTTOOLINFOA *lpToolInfo)
{ {
TTTOOL_INFO *toolPtr; TTTOOL_INFO *toolPtr;
INT nTool; UINT nTool;
for (nTool = 0; nTool < infoPtr->uNumTools; nTool++) { for (nTool = 0; nTool < infoPtr->uNumTools; nTool++) {
toolPtr = &infoPtr->tools[nTool]; toolPtr = &infoPtr->tools[nTool];
@ -910,7 +910,7 @@ static INT
TOOLTIPS_GetToolFromInfoW (const TOOLTIPS_INFO *infoPtr, const TTTOOLINFOW *lpToolInfo) TOOLTIPS_GetToolFromInfoW (const TOOLTIPS_INFO *infoPtr, const TTTOOLINFOW *lpToolInfo)
{ {
TTTOOL_INFO *toolPtr; TTTOOL_INFO *toolPtr;
INT nTool; UINT nTool;
for (nTool = 0; nTool < infoPtr->uNumTools; nTool++) { for (nTool = 0; nTool < infoPtr->uNumTools; nTool++) {
toolPtr = &infoPtr->tools[nTool]; toolPtr = &infoPtr->tools[nTool];
@ -937,7 +937,7 @@ static INT
TOOLTIPS_GetToolFromPoint (const TOOLTIPS_INFO *infoPtr, HWND hwnd, const POINT *lpPt) TOOLTIPS_GetToolFromPoint (const TOOLTIPS_INFO *infoPtr, HWND hwnd, const POINT *lpPt)
{ {
TTTOOL_INFO *toolPtr; TTTOOL_INFO *toolPtr;
INT nTool; UINT nTool;
for (nTool = 0; nTool < infoPtr->uNumTools; nTool++) { for (nTool = 0; nTool < infoPtr->uNumTools; nTool++) {
toolPtr = &infoPtr->tools[nTool]; toolPtr = &infoPtr->tools[nTool];