summaryrefslogtreecommitdiff
path: root/net/spserver/files/patch-spthreadpool.cpp
blob: c493a6441e8ece9d8b99b82a09d5f0bb144fb4d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- spthreadpool.cpp.orig	Mon Jun 18 12:38:42 2007
+++ spthreadpool.cpp	Mon Jun 18 12:39:00 2007
@@ -119,7 +119,7 @@
 
 		if( 0 == pthread_create( &( thread->mId ), &attr, wrapperFunc, thread ) ) {
 			mTotal++;
-			syslog( LOG_NOTICE, "[tp@%s] create thread#%ld\n", mTag, thread->mId );
+			syslog( LOG_NOTICE, "[tp@%s] create thread#%ld\n", mTag, (long)thread->mId );
 		} else {
 			ret = -1;
 			syslog( LOG_WARNING, "[tp@%s] cannot create thread\n", mTag );