aboutsummaryrefslogtreecommitdiffstats
path: root/main/utils.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-10 15:51:56 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-10 15:51:56 +0000
commitf79ccd8c30c69076f34cf189b21062301578686b (patch)
tree43f7c0b5efef90246577821bab25f0dedefac49c /main/utils.c
parent203f26941530cdb2ffbb3dbb51e260b7cd5064ee (diff)
The thread ID should be unsigned.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@85315 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/utils.c')
-rw-r--r--main/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/utils.c b/main/utils.c
index ebf80ebb9..61fb8a194 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -716,7 +716,7 @@ static int handle_show_locks(int fd, int argc, char *argv[])
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++) {