summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-27 10:49:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-27 13:17:49 +0100
commitd52ea2baa0885d49f3b5eaa74d782315d01d36ea (patch)
treeaf4173ec90f148fd141060db80a4fd8a0a4866e6 /shell
parent2a78e9ddafcfa644e771bb2fc47d5ca23f46af59 (diff)
GetShortPathNameW returns DWORD
Change-Id: I5e86f9d0fd9832d0c8500c5d38805ddef5d5304b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106727 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/util/utilities.cxx2
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 )
{