[asterisk-commits] mmichelson: branch 1.4 r85315 - /branches/1.4/main/utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 10 10:51:56 CDT 2007


Author: mmichelson
Date: Wed Oct 10 10:51:56 2007
New Revision: 85315

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85315
Log:
The thread ID should be unsigned.


Modified:
    branches/1.4/main/utils.c

Modified: branches/1.4/main/utils.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/utils.c?view=diff&rev=85315&r1=85314&r2=85315
==============================================================================
--- branches/1.4/main/utils.c (original)
+++ branches/1.4/main/utils.c Wed Oct 10 10:51:56 2007
@@ -716,7 +716,7 @@
 	pthread_mutex_lock(&lock_infos_lock.mutex);
 	AST_LIST_TRAVERSE(&lock_infos, lock_info, entry) {
 		int i;
-		ast_cli(fd, "=== Thread ID: %d (%s)\n", (int) lock_info->thread_id,
+		ast_cli(fd, "=== Thread ID: %u (%s)\n", (int) lock_info->thread_id,
 			lock_info->thread_name);
 		pthread_mutex_lock(&lock_info->lock);
 		for (i = 0; i < lock_info->num_locks; i++) {




More information about the asterisk-commits mailing list