From ce8b63ed20aa9ce8a36c3b2c02a4f74459e91229 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 11 May 2018 21:04:54 +0100 Subject: silence Werror=class-memaccess MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2deac7b7df8d6b099a52b4e9e82ee0dd0c390c16 Reviewed-on: https://gerrit.libreoffice.org/54149 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/filter/ww8/ww8par2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/filter') diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index af15642868bc..54704142bd4e 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -1580,7 +1580,7 @@ void WW8TabBandDesc::ReadNewShd(const sal_uInt8* pS, bool bVer67) void WW8TabBandDesc::setcelldefaults(WW8_TCell *pCells, short nCols) { - memset( pCells, 0, nCols * sizeof( WW8_TCell ) ); + memset(static_cast(pCells), 0, nCols * sizeof(WW8_TCell)); } namespace -- cgit v1.2.3