summaryrefslogtreecommitdiff
path: root/net/spnetkit/files/patch-spnklog.cpp
blob: c4784107c7424428db681eab26e327b7b1e7bcf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- spnklog.cpp.orig	2008-02-18 12:19:32.000000000 +0800
+++ spnklog.cpp	2008-02-18 12:19:41.000000000 +0800
@@ -107,7 +107,7 @@
 		snprintf( logText, sizeof( logText ),
 			"%04i-%02i-%02i %02i:%02i:%02i #%i ",
 			1900 + tmTime.tm_year, tmTime.tm_mon+1, tmTime.tm_mday,
-			tmTime.tm_hour, tmTime.tm_min, tmTime.tm_sec, (int)pthread_self() );
+			tmTime.tm_hour, tmTime.tm_min, tmTime.tm_sec, pthread_self() );
 	}
 
 	if( mIsLogPriName ) {