summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-22 10:43:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-22 12:52:59 +0100
commitea5ad6cdede807a0cf4c46b8a0493e56782c493a (patch)
treec6732fed1cef9f1b6f96088457ab24bfb0474b70 /sal
parentc2fce89079f10103e64eaa7a687b131bc36cd8af (diff)
error: expected parentheses around type name in sizeof expression (clang-cl)
Change-Id: Ia4814242cc20fbfe35eaff95ddd64dd94e6d69af Reviewed-on: https://gerrit.libreoffice.org/68196 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/socket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx
index f8624738e59f..97960828e17a 100644
--- a/sal/osl/w32/socket.cxx
+++ b/sal/osl/w32/socket.cxx
@@ -637,7 +637,7 @@ oslSocketResult SAL_CALL osl_getLocalHostname (rtl_uString **strLocalHostname)
| RTL_TEXTTOUNICODE_FLAGS_INVALID_ERROR))
&& u.getLength() < SAL_N_ELEMENTS(LocalHostname))
{
- memcpy(LocalHostname, u.getStr(), (u.getLength() + 1) * sizeof sal_Unicode);
+ memcpy(LocalHostname, u.getStr(), (u.getLength() + 1) * sizeof (sal_Unicode));
}
}
}