summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hstream.cxx
diff options
context:
space:
mode:
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;
}