diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-10-23 23:54:09 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-10-23 23:54:09 +0000 |
commit | 289500c0f7e6abd6d97a667328f5b537bb90af24 (patch) | |
tree | a019c0f4dee373dc39328563e9fd5b143c8d77d7 /net-mgmt/kismet/files/patch-kismet-gpsmap.cc | |
parent | - Fix loading on system startup (diff) |
- Update to 200710.r1
PR: 117341
Submitted by: Peter Thoenen <peter.thoenen@yahoo.com> (maintainer)
Diffstat (limited to 'net-mgmt/kismet/files/patch-kismet-gpsmap.cc')
-rw-r--r-- | net-mgmt/kismet/files/patch-kismet-gpsmap.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-mgmt/kismet/files/patch-kismet-gpsmap.cc b/net-mgmt/kismet/files/patch-kismet-gpsmap.cc new file mode 100644 index 000000000000..f3e7270fe615 --- /dev/null +++ b/net-mgmt/kismet/files/patch-kismet-gpsmap.cc @@ -0,0 +1,16 @@ +--- gpsmap.cc.orig Mon Oct 15 15:13:32 2007 ++++ gpsmap.cc Mon Oct 15 15:15:19 2007 +@@ -2242,11 +2242,11 @@ + pthread_attr_destroy(&attr); + + // Now wait for the threads to complete and come back +- int thread_status; ++ intptr_t 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<intptr_t>(tmp); + } + #else + // Run one instance of our "thread". thread number 0, it should just crunch it all |