diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-12-29 20:29:59 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-12-29 20:29:59 +0000 |
commit | c8c9adf9f575b5543893c29d7f37d94a4ce72e05 (patch) | |
tree | db34b9e47fd1f6dc25df8d5b10c9d2d9906bea5d /typeinfo.cc | |
parent | 175e74cef9cc52a239b899d2a0f6e9e84299f0a2 (diff) |
Notes
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 fda5196e307c6..71de9ae59bd85 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) { |