summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-15 15:33:20 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-15 15:33:20 +0100
commit3ea39057ac9e687cb55cb575104db5d7fc9859a4 (patch)
treecceea58a661e962d79bc65c0582c4da3f8bc7745 /src/lib
parentb2919cca15877349b26389219abaf9dbdd4d26ac (diff)
Fix OS X build.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cross.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index a213436a3..454fe044c 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -397,12 +397,12 @@ start_batch_converter (boost::filesystem::path dcpomatic)
#endif
}
-int
+uint64_t
thread_id ()
{
#ifdef DCPOMATIC_WINDOWS
- return (int) GetCurrentThreadId ();
+ return (uint64_t) GetCurrentThreadId ();
#else
- return (int) pthread_self ();
+ return (uint64_t) pthread_self ();
#endif
}