diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-15 15:33:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-15 15:33:20 +0100 |
| commit | 3ea39057ac9e687cb55cb575104db5d7fc9859a4 (patch) | |
| tree | cceea58a661e962d79bc65c0582c4da3f8bc7745 /src/lib | |
| parent | b2919cca15877349b26389219abaf9dbdd4d26ac (diff) | |
Fix OS X build.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/cross.cc | 6 |
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 } |
