diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2010-08-16 06:20:56 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2010-08-16 06:20:56 +0000 |
commit | 87453ddfb8b018b68036795bddbe161f8ff0bc1f (patch) | |
tree | b985bedcdffc9acd2c119ce6c816a997caa551b4 /databases/fastdb/files/patch-inc-sync_unix.h | |
parent | - Update to 1.10.8 (diff) |
- Update to 3.63
Notes
Notes:
svn path=/head/; revision=259338
Diffstat (limited to 'databases/fastdb/files/patch-inc-sync_unix.h')
-rw-r--r-- | databases/fastdb/files/patch-inc-sync_unix.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/fastdb/files/patch-inc-sync_unix.h b/databases/fastdb/files/patch-inc-sync_unix.h new file mode 100644 index 000000000000..03960aba9b51 --- /dev/null +++ b/databases/fastdb/files/patch-inc-sync_unix.h @@ -0,0 +1,11 @@ +--- inc/sync_unix.h.orig 2009-11-20 20:53:02.000000000 +0800 ++++ inc/sync_unix.h 2010-08-16 13:56:02.000000000 +0800 +@@ -160,7 +160,7 @@ + } + + static int getCurrentThreadId() { +- return (int)pthread_self(); ++ return reinterpret_cast<unsigned long>(pthread_self()); + } + + static int numberOfProcessors(); |