blob: 9ac08750e4f136f13bbec4eef733e5f6d5609142 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- spserver/spdispatcher.cpp.orig 2008-09-03 22:12:05.000000000 +0800
+++ spserver/spdispatcher.cpp 2008-09-25 05:41:53.000000000 +0800
@@ -97,7 +97,7 @@
ret = sp_thread_create( &thread, &attr, eventLoop, this );
sp_thread_attr_destroy( &attr );
if( 0 == ret ) {
- sp_syslog( LOG_NOTICE, "Thread #%ld has been created for dispatcher", thread );
+ sp_syslog( LOG_NOTICE, "Thread #%ld has been created for dispatcher", (long)thread );
} else {
mIsRunning = 0;
sp_syslog( LOG_WARNING, "Unable to create a thread for dispatcher, %s",
|