diff options
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(); |