--- 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