diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/shlxthandler/util/utilities.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/util/utilities.cxx b/shell/source/win32/shlxthandler/util/utilities.cxx index 80bd6a1cb4fa..489474b53baf 100644 --- a/shell/source/win32/shlxthandler/util/utilities.cxx +++ b/shell/source/win32/shlxthandler/util/utilities.cxx @@ -121,7 +121,7 @@ bool HasOnlySpaces(const std::wstring& String) std::wstring getShortPathName( const std::wstring& aLongName ) { std::wstring shortName = aLongName; - long length = GetShortPathNameW( aLongName.c_str(), nullptr, 0 ); + DWORD length = GetShortPathNameW( aLongName.c_str(), nullptr, 0 ); if ( length != 0 ) { |