blob: a78f42821a0bcd7b5f36344d61cf59bdd422cb1e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- spserver/spthreadpool.cpp.orig 2011-06-21 08:59:54.000000000 +0800
+++ spserver/spthreadpool.cpp 2011-06-21 09:00:06.000000000 +0800
@@ -122,7 +122,7 @@ int SP_ThreadPool :: dispatch( DispatchF
if( 0 == sp_thread_create( &( thread->mId ), &attr, wrapperFunc, thread ) ) {
mTotal++;
- sp_syslog( LOG_NOTICE, "[tp@%s] create thread#%ld\n", mTag, thread->mId );
+ sp_syslog( LOG_NOTICE, "[tp@%s] create thread#%ld\n", mTag, (long)thread->mId );
} else {
ret = -1;
sp_syslog( LOG_WARNING, "[tp@%s] cannot create thread\n", mTag );
|