Fix OS X build.
authorCarl Hetherington <cth@carlh.net>
Mon, 15 Aug 2016 14:33:20 +0000 (15:33 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 15 Aug 2016 14:33:20 +0000 (15:33 +0100)
src/lib/cross.cc

index a213436a3c3f973aafccb83e7a800aa07b417fc1..454fe044cb51b2e19b3c646ba4d87738cbf762dc 100644 (file)
@@ -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
 }