summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hstream.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:04:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:21 +0100
commit33815ec44937f731ce3de9146a97265662d0d206 (patch)
tree40257290d306f43f9e5bb521c9ac9344a11cfd88 /hwpfilter/source/hstream.cxx
parent5d950b3afd91e87035d24b550f29d0b3a7c5033b (diff)
Clean up C-style casts from pointers to void
Change-Id: Ifbdbd2bb8a21afa76271728c46f88c11a887fc5a
Diffstat (limited to 'hwpfilter/source/hstream.cxx')
-rw-r--r--hwpfilter/source/hstream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hstream.cxx b/hwpfilter/source/hstream.cxx
index e3c1b4244ee1..e002d346ac79 100644
--- a/hwpfilter/source/hstream.cxx
+++ b/hwpfilter/source/hstream.cxx
@@ -36,7 +36,7 @@ HStream::~HStream()
void HStream::addData( const byte *buf, int aToAdd)
{
- seq = (byte *)realloc( seq, size + aToAdd );
+ seq = static_cast<byte *>(realloc( seq, size + aToAdd ));
memcpy( seq + size, buf, aToAdd );
size += aToAdd;
}