]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
The thread ID should be unsigned.
authorMark Michelson <mmichelson@digium.com>
Wed, 10 Oct 2007 15:51:56 +0000 (15:51 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 10 Oct 2007 15:51:56 +0000 (15:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@85315 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/utils.c

index ebf80ebb9edbe64f26005c962a67f0dea4203433..61fb8a194cae52f5b5ef8dd589ee4086cff426a0 100644 (file)
@@ -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++) {