CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <[EMAIL PROTECTED]> 04/10/17 21:29:07
Modified files:
src : network_worker.cpp
Log message:
fixed compile error on 64 bit systems
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/network_worker.cpp.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
Patches:
Index: wesnoth/src/network_worker.cpp
diff -u wesnoth/src/network_worker.cpp:1.5 wesnoth/src/network_worker.cpp:1.6
--- wesnoth/src/network_worker.cpp:1.5 Sun Oct 17 20:54:18 2004
+++ wesnoth/src/network_worker.cpp Sun Oct 17 21:29:07 2004
@@ -54,8 +54,6 @@
{
const threading::lock lock(*global_mutex);
- LOG_NW << "thread " << reinterpret_cast<long>(data) <<
" looking for a buf to send: " << bufs.size() << "\n";
-
for(itor = bufs.begin(); itor != bufs.end(); ++itor) {
if(itor->processing_started) {
continue;
@@ -127,7 +125,7 @@
cond = new threading::condition();
for(size_t n = 0; n != nthreads; ++n) {
- threads.push_back(new
threading::thread(process_queue,reinterpret_cast<void*>(n)));
+ threads.push_back(new
threading::thread(process_queue,NULL));
}
}
}