ports/devel/libcwd/files/patch-debugmalloc.cc
Ying-Chieh Liao ac444db3d0 add libcwd 0.99.31
The C++ Debugging Support Library
2003-11-10 08:29:22 +00:00

11 lines
432 B
C++

--- debugmalloc.cc.orig Mon Nov 10 15:42:25 2003
+++ debugmalloc.cc Mon Nov 10 15:50:49 2003
@@ -1346,7 +1346,7 @@
struct tm tbuf;
tbuf_ptr = localtime_r(&alloc->a_time.tv_sec, &tbuf);
#else
- tbuf_ptr = localtime(&alloc->a_time.tv_sec);
+ tbuf_ptr = localtime((const time_t *)&alloc->a_time.tv_sec);
#endif
_private_::set_invisible_off(LIBCWD_TSD);
--LIBCWD_DO_TSD_MEMBER_OFF(debug_object);