aboutsummaryrefslogtreecommitdiff
path: root/src/stable/trace.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2021-08-18 22:11:41 -0700
committerMike Buland <eichlan@xagasoft.com>2021-08-18 22:11:41 -0700
commit345926296f748db5ff283ce69c0ed4d563fcc8ff (patch)
tree3aa50962107cb903bbf30bb2540c19d25bda5adf /src/stable/trace.cpp
parent52833d24ba86c3e0fe90a12d65f6dc529e9280b7 (diff)
downloadlibbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.gz
libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.bz2
libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.xz
libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.zip
Updating issues discovered using g++ 10
Diffstat (limited to 'src/stable/trace.cpp')
-rw-r--r--src/stable/trace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stable/trace.cpp b/src/stable/trace.cpp
index 7738686..09cb757 100644
--- a/src/stable/trace.cpp
+++ b/src/stable/trace.cpp
@@ -24,7 +24,7 @@ template<> void Bu::__tracer_format<double>( const double &v )
24 24
25template<> void Bu::__tracer_format<void *>( void * const &v ) 25template<> void Bu::__tracer_format<void *>( void * const &v )
26{ 26{
27 printf("0x%08X", (ptrdiff_t)v ); 27 printf("0x%08lX", (ptrdiff_t)v );
28} 28}
29 29
30template<> void Bu::__tracer_format<char *>( char * const &v ) 30template<> void Bu::__tracer_format<char *>( char * const &v )
@@ -46,7 +46,7 @@ template<> void Bu::__tracer_format<char **>( char ** const &v )
46 46
47template<> void Bu::__tracer_format<void const *>( void const * const &v ) 47template<> void Bu::__tracer_format<void const *>( void const * const &v )
48{ 48{
49 printf("0x%08X", (ptrdiff_t)v ); 49 printf("0x%08lX", (ptrdiff_t)v );
50} 50}
51 51
52template<> void Bu::__tracer_format<char const *>( char const * const &v ) 52template<> void Bu::__tracer_format<char const *>( char const * const &v )