diff options
Diffstat (limited to 'typeinfo.cc')
-rw-r--r-- | typeinfo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/typeinfo.cc b/typeinfo.cc index fda5196..71de9ae 100644 --- a/typeinfo.cc +++ b/typeinfo.cc @@ -96,7 +96,7 @@ extern "C" char* __cxa_demangle(const char* mangled_name, } if (*n < len+1) { - buf = (char*)realloc(buf, len+1); + buf = static_cast<char*>(realloc(buf, len+1)); } if (0 != buf) { |