[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/libbase utility.h
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash/libbase utility.h |
Date: |
Sat, 29 Mar 2008 16:12:18 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 08/03/29 16:12:18
Modified files:
libbase : utility.h
Log message:
reinterprer_cast from pthread_self(), albeit I'm pretty sure we should
return pthread_t
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.h?cvsroot=gnash&r1=1.43&r2=1.44
Patches:
Index: utility.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- utility.h 29 Mar 2008 03:15:37 -0000 1.43
+++ utility.h 29 Mar 2008 16:12:18 -0000 1.44
@@ -238,7 +238,7 @@
inline unsigned long int /* pthread_t */ get_thread_id(void)
{
#ifdef HAVE_PTHREADS
- return pthread_self();
+ return reinterpret_cast<unsigned long int>(pthread_self());
#else
# ifdef _WIN32
return GetCurrentThreadId();
- [Gnash-commit] gnash/libbase utility.h,
Markus Gothe <=