diff --git a/hwpfilter/source/mzstring.h b/hwpfilter/source/mzstring.h index 4ac98ce0edd0..f3110a6126e8 100644 --- a/hwpfilter/source/mzstring.h +++ b/hwpfilter/source/mzstring.h @@ -88,7 +88,7 @@ class MzString int length() const; const char* c_str() const; - operator char*() { return (char *)c_str(); } + operator char*() { return const_cast(c_str()); } // If it is not possible to use the constructor with an initial // allocation size, use the following member to set the size.