Author: akhaldi Date: Sat Apr 27 09:40:27 2013 New Revision: 58869
URL: http://svn.reactos.org/svn/reactos?rev=58869&view=rev Log: [SHELL32] * Silence a compiler warning. Spotted by Thomas Faber.
Modified: trunk/reactos/dll/win32/shell32/shlview.cpp
Modified: trunk/reactos/dll/win32/shell32/shlview.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlview.c... ============================================================================== --- trunk/reactos/dll/win32/shell32/shlview.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/shlview.cpp [iso-8859-1] Sat Apr 27 09:40:27 2013 @@ -2408,7 +2408,7 @@ 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