gnash-commit
[Top][All Lists]
Advanced

[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:13:28 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  08/03/29 16:13:28

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.44&r2=1.45

Patches:
Index: utility.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- utility.h   29 Mar 2008 16:12:18 -0000      1.44
+++ utility.h   29 Mar 2008 16:13:28 -0000      1.45
@@ -241,9 +241,9 @@
     return reinterpret_cast<unsigned long int>(pthread_self());
 #else
 # ifdef _WIN32
-    return GetCurrentThreadId();
+    return reinterpret_cast<unsigned long int>(GetCurrentThreadId());
 # else
-    return getpid();
+    return reinterpret_cast<unsigned long int>(getpid());
 # endif
 #endif
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]