added a cast to silence a compiler warning

svn path=/trunk/; revision=7468
This commit is contained in:
Vizzini 2004-01-05 20:38:48 +00:00
parent 282696e4ee
commit e2bc674743

View file

@ -766,7 +766,7 @@ inline int ListView_FindItemPara(HWND list_ctrl, LPARAM param)
fi.flags = LVFI_PARAM;
fi.lParam = param;
return ListView_FindItem(list_ctrl, -1, &fi);
return ListView_FindItem(list_ctrl, (unsigned)-1, &fi);
}
inline int ListView_GetFocusedItem(HWND list_ctrl)