[Libreoffice-commits] core.git: sal/osl
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Feb 22 11:53:30 UTC 2019
sal/osl/w32/socket.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ea5ad6cdede807a0cf4c46b8a0493e56782c493a
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Feb 22 10:43:55 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Feb 22 12:52:59 2019 +0100
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 at redhat.com>
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));
}
}
}
More information about the Libreoffice-commits
mailing list