From 7e0d158a16ca32c882b8007f1b05e7f818dcd41e Mon Sep 17 00:00:00 2001 From: Ramy Iskander Date: Mon, 29 Mar 2010 09:09:22 +0000 Subject: [PATCH] Replacing "unsigned int" by "size_t" for demangle so it can be compiled on mac osx --- hurricane/src/hurricane/Commons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hurricane/src/hurricane/Commons.cpp b/hurricane/src/hurricane/Commons.cpp index feb0d5dd..46d90136 100644 --- a/hurricane/src/hurricane/Commons.cpp +++ b/hurricane/src/hurricane/Commons.cpp @@ -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 );