diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2021-08-18 22:11:41 -0700 | 
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2021-08-18 22:11:41 -0700 | 
| commit | 345926296f748db5ff283ce69c0ed4d563fcc8ff (patch) | |
| tree | 3aa50962107cb903bbf30bb2540c19d25bda5adf /src/stable/trace.cpp | |
| parent | 52833d24ba86c3e0fe90a12d65f6dc529e9280b7 (diff) | |
| download | libbu++-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.cpp | 4 | 
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 | ||
| 25 | template<> void Bu::__tracer_format<void *>( void * const &v ) | 25 | template<> 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 | ||
| 30 | template<> void Bu::__tracer_format<char *>( char * const &v ) | 30 | template<> void Bu::__tracer_format<char *>( char * const &v ) | 
| @@ -46,7 +46,7 @@ template<> void Bu::__tracer_format<char **>( char ** const &v ) | |||
| 46 | 46 | ||
| 47 | template<> void Bu::__tracer_format<void const *>( void const * const &v ) | 47 | template<> 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 | ||
| 52 | template<> void Bu::__tracer_format<char const *>( char const * const &v ) | 52 | template<> void Bu::__tracer_format<char const *>( char const * const &v ) | 
