summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-16 14:25:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-16 14:25:25 +0100
commitb17177c63a4eac55dcdaa3006abec05ab71ca1b4 (patch)
tree5bc79d31b8c89a0ed7c7551fd7cc08cc702a9066 /hwpfilter
parent715df6e9f8926e511dbdee52367ec08676f71952 (diff)
coverity#1405158 Wrong sizeof argument
Change-Id: Ie6b7fc3d2b7d1ac709501698e55aabc72215b187
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hpara.cxx2
1 files changed, 1 insertions, 1 deletions
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));
}