From 555ba77568b6faf18ebaed06cd08615deab2d8e3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 7 Jun 2008 05:30:58 +0000 Subject: This is a testing version. Nothing should be broken, but I won't gurantee it. I wouldn't update to this just yet, if you have problems, back off a rev. I'm trying to update the code to work on both 32bit, and 64bit systems, and hopefully anything else that comes along. Currently some of the archive code is broken, testing must be done on both archetectures. --- src/trace.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/trace.cpp') diff --git a/src/trace.cpp b/src/trace.cpp index b328565..dab53d6 100644 --- a/src/trace.cpp +++ b/src/trace.cpp @@ -58,7 +58,7 @@ template<> void Bu::__tracer_format( const char &v ) { printf("%hhd", v ); } - +/* template<> void Bu::__tracer_format( const long &v ) { printf("%ld", v ); @@ -67,7 +67,7 @@ template<> void Bu::__tracer_format( const long &v ) template<> void Bu::__tracer_format( const unsigned long &v ) { printf("%lu", v ); -} +}*/ template<> void Bu::__tracer_format( const float &v ) { @@ -81,7 +81,7 @@ template<> void Bu::__tracer_format( const double &v ) template<> void Bu::__tracer_format( void * const &v ) { - printf("0x%08X", (unsigned int)v ); + printf("0x%08X", (ptrdiff_t)v ); } template<> void Bu::__tracer_format( char * const &v ) @@ -99,7 +99,7 @@ template<> void Bu::__tracer_format( char ** const &v ) template<> void Bu::__tracer_format( void const * const &v ) { - printf("0x%08X", (unsigned int)v ); + printf("0x%08X", (ptrdiff_t)v ); } template<> void Bu::__tracer_format( char const * const &v ) -- cgit v1.2.3