mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:15:59 +00:00
[BROWSEUI] Fix MSVC warning about unary minus operator
basebarsite.cpp(536): warning C4146: unary minus operator applied to unsigned type, result still unsigned
This commit is contained in:
parent
e98bba2535
commit
9bfa6b51be
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ HRESULT STDMETHODCALLTYPE CBaseBarSite::EnumBands(UINT uBand, DWORD *pdwBandID)
|
|||
{
|
||||
REBARBANDINFO bandInfo;
|
||||
|
||||
if (uBand == -1ul)
|
||||
if (uBand == UINT_MAX)
|
||||
return (HRESULT)SendMessage(RB_GETBANDCOUNT, 0, 0);
|
||||
if (pdwBandID == NULL)
|
||||
return E_INVALIDARG;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue