summaryrefslogtreecommitdiffstats
path: root/typeinfo.cc
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-12-29 20:29:59 +0000
committerdim <dim@FreeBSD.org>2014-12-29 20:29:59 +0000
commit1074a00d289feff1fdab04f3c57a7f25078d02a2 (patch)
treedb34b9e47fd1f6dc25df8d5b10c9d2d9906bea5d /typeinfo.cc
parent010e9df84becb8cbe4f643cb5daf32912c352166 (diff)
downloadFreeBSD-src-1074a00d289feff1fdab04f3c57a7f25078d02a2.zip
FreeBSD-src-1074a00d289feff1fdab04f3c57a7f25078d02a2.tar.gz
Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604.
Interesting fixes: 76584a0 Reorganize code to use only 32bit atomic ops for 32bit platforms 30d2ae5 Implement __cxa_throw_bad_array_new_length
Diffstat (limited to 'typeinfo.cc')
-rw-r--r--typeinfo.cc2
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)
{
OpenPOWER on IntegriCloud