Sophie

Sophie

distrib > Mandriva > 2008.0 > i586 > by-pkgid > 50aaed550f97c352457c6382b5f4e877 > files > 1

kismet-3.1.070101b-2mdv2008.0.src.rpm

--- kismet-2007-01-R1b/gpsmap.cc.orig	2007-05-07 19:33:48.000000000 +0200
+++ kismet-2007-01-R1b/gpsmap.cc	2007-05-07 19:38:40.000000000 +0200
@@ -2242,11 +2242,11 @@
     pthread_attr_destroy(&attr);
 
     // Now wait for the threads to complete and come back
-    int thread_status;
+    long thread_status;
     for (int t = 0; t < numthreads; t++) {
         void *tmp;
         pthread_join(mapthread[t], &tmp);
-	thread_status = reinterpret_cast<int>(tmp);
+	thread_status = reinterpret_cast<long>(tmp);
     }
 #else
     // Run one instance of our "thread".  thread number 0, it should just crunch it all