summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-25 07:43:51 +0000
committerkonablend <[email protected]>2009-06-25 07:43:51 +0000
commit79cb08d128b3c6562dd313e39c1546e34749adf6 (patch)
tree65c02331fc419b0b13ce854a5e0da30686be4644 /libhb
parent9b4832cb8c05f72dfe0a2d7dbdc22d4468434de6 (diff)
- cleanup. fixed hb_thread_to_integer() on darwin to cast pointer cleanly for both 32-bit and 64-bit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2620 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/ports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/ports.c b/libhb/ports.c
index 40183015f..d6232884f 100644
--- a/libhb/ports.c
+++ b/libhb/ports.c
@@ -273,7 +273,7 @@ static uint64_t hb_thread_to_integer( const hb_thread_t* t )
#if defined( _WIN32 ) || defined( __MINGW32__ )
return (uint64_t)(ptrdiff_t)t->thread.p;
#elif defined( SYS_DARWIN )
- return (uint64_t)(ptrdiff_t)t->thread;
+ return (unsigned long)t->thread;
#else
return (uint64_t)t->thread;
#endif