Commit 39b2c1eb authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

ole32: Handle GetMenuItemCount returning -1 by changing UINT to INT (Coverity 228).

parent 4b6cc6e3
......@@ -1299,7 +1299,7 @@ static OleMenuHookItem * OLEMenu_IsHookInstalled( DWORD tid )
*/
static BOOL OLEMenu_FindMainMenuIndex( HMENU hMainMenu, HMENU hPopupMenu, UINT *pnPos )
{
UINT i, nItems;
INT i, nItems;
nItems = GetMenuItemCount( hMainMenu );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment