summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
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
}