mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 04:33:13 +00:00
[SHELL32]
* Silence a compiler warning. Spotted by Thomas Faber. svn path=/trunk/; revision=58869
This commit is contained in:
parent
17d42ae2a9
commit
d9576af780
1 changed files with 1 additions and 1 deletions
|
@ -2408,7 +2408,7 @@ HRESULT STDMETHODCALLTYPE CDefView::SetCurrentViewMode(UINT ViewMode)
|
||||||
TRACE("(%p)->(%u), stub\n", this, ViewMode);
|
TRACE("(%p)->(%u), stub\n", this, ViewMode);
|
||||||
|
|
||||||
/* It's not redundant to check FVM_AUTO because it's a (UINT)-1 */
|
/* 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;
|
return E_INVALIDARG;
|
||||||
|
|
||||||
/* Windows before Vista uses LVM_SETVIEW and possibly
|
/* Windows before Vista uses LVM_SETVIEW and possibly
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue