From 1074a00d289feff1fdab04f3c57a7f25078d02a2 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 29 Dec 2014 20:29:59 +0000 Subject: 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 --- typeinfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'typeinfo.cc') 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(realloc(buf, len+1)); } if (0 != buf) { -- cgit v1.1