You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ca...@apache.org on 2005/03/05 06:36:59 UTC
cvs commit: logging-log4cxx/src stringhelper.cpp
carnold 2005/03/04 21:36:58
Modified: src stringhelper.cpp
Log:
Changed to unsigned int64 in formatHex
Revision Changes Path
1.17 +1 -1 logging-log4cxx/src/stringhelper.cpp
Index: stringhelper.cpp
===================================================================
RCS file: /home/cvs/logging-log4cxx/src/stringhelper.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- stringhelper.cpp 4 Mar 2005 04:23:19 -0000 1.16
+++ stringhelper.cpp 5 Mar 2005 05:36:58 -0000 1.17
@@ -265,7 +265,7 @@
LogString StringHelper::formatHex(const void* ptr) {
const logchar* hexdigits = LOG4CXX_STR("0123456789ABCDEF");
- apr_int64_t iptr = (apr_int64_t) ptr;
+ apr_uint64_t iptr = (apr_uint64_t) ptr;
int width = sizeof(ptr)*2 + 2;
LogString s(width, LOG4CXX_STR('x'));
s[0] = LOG4CXX_STR('0');