[svn-commits] mvanbaak: branch 1.6.2 r205535 - in /branches/1.6.2: ./ main/ssl.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 9 03:34:36 CDT 2009


Author: mvanbaak
Date: Thu Jul  9 03:34:33 2009
New Revision: 205535

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=205535
Log:
Merged revisions 205532 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205532 | mvanbaak | 2009-07-09 10:31:24 +0200 (Thu, 09 Jul 2009) | 5 lines
  
  pthread_self returns a pthread_t which is not an unsigned int on all
  pthread implementations. Casting it to an unsigned int fixes compiler warnings.
  
  Tested on OpenBSD and Linux both 32 and 64 bit
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/main/ssl.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/main/ssl.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/main/ssl.c?view=diff&rev=205535&r1=205534&r2=205535
==============================================================================
--- branches/1.6.2/main/ssl.c (original)
+++ branches/1.6.2/main/ssl.c Thu Jul  9 03:34:33 2009
@@ -45,7 +45,7 @@
 
 static unsigned long ssl_threadid(void)
 {
-	return pthread_self();
+	return (unsigned long)pthread_self();
 }
 
 static void ssl_lock(int mode, int n, const char *file, int line)




More information about the svn-commits mailing list