r3219 - trunk/libmutil/include/libmutil

erik at minisip.org erik at minisip.org
Thu Feb 22 15:01:33 CET 2007


Author: erik
Date: 2007-02-22 15:01:32 +0100 (Thu, 22 Feb 2007)
New Revision: 3219

Modified:
   trunk/libmutil/include/libmutil/Thread.h
Log:

 * Hmm - OpenSSL wanted the thread id as a 32 bit number. Let's trunkate it
   here for now.



Modified: trunk/libmutil/include/libmutil/Thread.h
===================================================================
--- trunk/libmutil/include/libmutil/Thread.h	2007-02-22 13:49:49 UTC (rev 3218)
+++ trunk/libmutil/include/libmutil/Thread.h	2007-02-22 14:01:32 UTC (rev 3219)
@@ -49,9 +49,8 @@
 		ThreadHandle(const ThreadHandle &);
 		~ThreadHandle();
 		
-		uint64_t asInt64() const{ 
-			//return *((unsigned long*)this->hptr); 
-			return handle;
+		unsigned long asLongInt() const{ 
+			return (unsigned long)handle;
 		};
 
 	private:



More information about the Minisip-devel mailing list