From 3ea39057ac9e687cb55cb575104db5d7fc9859a4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 Aug 2016 15:33:20 +0100 Subject: [PATCH] Fix OS X build. --- src/lib/cross.cc | 6 +++--- 1 file 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 } -- 2.30.2