[SHELL32]

* Silence a compiler warning. Spotted by Thomas Faber.

svn path=/trunk/; revision=58869
This commit is contained in:
Amine Khaldi 2013-04-27 09:40:27 +00:00
parent 17d42ae2a9
commit d9576af780

View file

@ -2408,7 +2408,7 @@ HRESULT STDMETHODCALLTYPE CDefView::SetCurrentViewMode(UINT ViewMode)
TRACE("(%p)->(%u), stub\n", this, ViewMode);
/* It's not redundant to check FVM_AUTO because it's a (UINT)-1 */
if ((ViewMode < FVM_FIRST || ViewMode > FVM_LAST) && (ViewMode != FVM_AUTO))
if ((ViewMode < FVM_FIRST || ViewMode > FVM_LAST) && (ViewMode != (UINT)FVM_AUTO))
return E_INVALIDARG;
/* Windows before Vista uses LVM_SETVIEW and possibly