[Libreoffice-commits] core.git: sc/source
Caolán McNamara
caolanm at redhat.com
Fri May 11 20:02:42 UTC 2018
sc/source/core/data/fillinfo.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3490bdc22152632baeeddd1494efa1e14b135345
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri May 11 15:15:37 2018 +0100
silence Werror=class-memaccess
Change-Id: I069bc38195d168512183335eb798ba541d1d2050
Reviewed-on: https://gerrit.libreoffice.org/54135
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index b150231460a0..7c78d4dd5dc6 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -1088,7 +1088,7 @@ ScTableInfo::ScTableInfo(const SCSIZE capacity)
, mnArrCapacity(capacity)
, mbPageMode(false)
{
- memset(mpRowInfo.get(), 0, mnArrCapacity * sizeof(RowInfo));
+ memset(static_cast<void*>(mpRowInfo.get()), 0, mnArrCapacity * sizeof(RowInfo));
}
ScTableInfo::~ScTableInfo()
More information about the Libreoffice-commits
mailing list