freebsd-ports/devel/mq4cpp/files/patch-include_Trace.h
2013-09-14 10:50:16 +00:00

11 lines
415 B
C

--- include/Trace.h.orig 2013-09-14 18:46:21.000000000 +0800
+++ include/Trace.h 2013-09-14 18:46:41.000000000 +0800
@@ -92,7 +92,7 @@ class DebugStream : public ostream
}
#else
#define TRACE(a) \
- cout << __FILE__ << "(" << __LINE__ << ") #" << (int)pthread_self() << ": " << a << endl;
+ cout << __FILE__ << "(" << __LINE__ << ") #" << pthread_self() << ": " << a << endl;
#endif
#else
#define TRACE(a) ;