From b17177c63a4eac55dcdaa3006abec05ab71ca1b4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 16 Apr 2017 14:25:25 +0100 Subject: coverity#1405158 Wrong sizeof argument Change-Id: Ie6b7fc3d2b7d1ac709501698e55aabc72215b187 --- hwpfilter/source/hpara.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hwpfilter') diff --git a/hwpfilter/source/hpara.cxx b/hwpfilter/source/hpara.cxx index 0273bcca29c3..6f5c4e57aace 100644 --- a/hwpfilter/source/hpara.cxx +++ b/hwpfilter/source/hpara.cxx @@ -77,7 +77,7 @@ HWPPara::HWPPara() , pstyno(0) , cshape(new CharShape) { - memset(cshape.get(), 0, sizeof(cshape)); + memset(cshape.get(), 0, sizeof(CharShape)); memset(&pshape, 0, sizeof(pshape)); } -- cgit v1.2.3