Replacing "unsigned int" by "size_t" for demangle so it can be compiled on mac osx

This commit is contained in:
Ramy Iskander 2010-03-29 09:09:22 +00:00
parent 7d805f94e8
commit 7e0d158a16
1 changed files with 1 additions and 1 deletions

View File

@ -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 );