Replacing "unsigned int" by "size_t" for demangle so it can be compiled on mac osx
This commit is contained in:
parent
7d805f94e8
commit
7e0d158a16
|
@ -107,7 +107,7 @@ void ltraceout (unsigned int level, unsigned int count )
|
|||
string demangle ( const char* symbol )
|
||||
{
|
||||
int status;
|
||||
unsigned int length = 4096;
|
||||
size_t length = 4096;
|
||||
char demangled[length];
|
||||
|
||||
abi::__cxa_demangle ( symbol, demangled, &length, &status );
|
||||
|
|
Loading…
Reference in New Issue