mcatan 2004/05/10 13:35:57
Modified: include/log4cxx/helpers tchar.h
Log:
fixed operator << on type int64_t
Revision Changes Path
1.34 +1 -3 logging-log4cxx/include/log4cxx/helpers/tchar.h
Index: tchar.h
===================================================================
RCS file: /home/cvs/logging-log4cxx/include/log4cxx/helpers/tchar.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- tchar.h 8 May 2004 20:48:30 -0000 1.33
+++ tchar.h 10 May 2004 20:35:56 -0000 1.34
@@ -68,7 +68,7 @@
operator<<(basic_ostream<_CharT, _Traits>& os, const int64_t&
ll)
{
_CharT buff[21];
- Convert::int64ToString(buff, ll);
+ Convert::int64ToString(buff, 20, ll);
os << buff;
return os;
}
@@ -84,9 +84,7 @@
#define USES_CONVERSION void * _dst = _alloca(1024);
#endif
#else
-#ifdef HAVE_ALLOCA_H
#include <alloca.h>
-#endif
#define USES_CONVERSION void * _dst = alloca(1024);
#endif