[asterisk-commits] mvanbaak: trunk r216506 - in /trunk: ./ main/utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 4 10:05:09 CDT 2009


Author: mvanbaak
Date: Fri Sep  4 10:05:05 2009
New Revision: 216506

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=216506
Log:
Merged revisions 216435 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r216435 | mvanbaak | 2009-09-04 15:56:10 +0200 (Fri, 04 Sep 2009) | 2 lines
  
  make asterisk compile under devmode with DEBUG_THREADS enabled on OpenBSD
........

Modified:
    trunk/   (props changed)
    trunk/main/utils.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/utils.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/utils.c?view=diff&rev=216506&r1=216505&r2=216506
==============================================================================
--- trunk/main/utils.c (original)
+++ trunk/main/utils.c Fri Sep  4 10:05:05 2009
@@ -873,7 +873,7 @@
 	AST_LIST_TRAVERSE(&lock_infos, lock_info, entry) {
 		int i;
 		if (lock_info->num_locks) {
-			ast_str_append(&str, 0, "=== Thread ID: %d (%s)\n", (int) lock_info->thread_id,
+			ast_str_append(&str, 0, "=== Thread ID: %ld (%s)\n", (long) lock_info->thread_id,
 				lock_info->thread_name);
 			pthread_mutex_lock(&lock_info->lock);
 			for (i = 0; str && i < lock_info->num_locks; i++) {




More information about the asterisk-commits mailing list