Kaydet (Commit) ea5ad6cd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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: 's avatarStephan Bergmann <sbergman@redhat.com>
üst c2fce890
......@@ -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));
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment