[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:15:35 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 08/03/29 16:15:35
Modified files:
libbase : utility.h
Log message:
static_cast getpid()
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.h?cvsroot=gnash&r1=1.45&r2=1.46
Patches:
Index: utility.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- utility.h 29 Mar 2008 16:13:28 -0000 1.45
+++ utility.h 29 Mar 2008 16:15:35 -0000 1.46
@@ -241,9 +241,9 @@
return reinterpret_cast<unsigned long int>(pthread_self());
#else
# ifdef _WIN32
- return reinterpret_cast<unsigned long int>(GetCurrentThreadId());
+ return GetCurrentThreadId();
# else
- return reinterpret_cast<unsigned long int>(getpid());
+ return static_cast<unsigned long int>(getpid());
# endif
#endif
}