made thread ids unsigned again, to avoid negative thread ids on some systems

This commit is contained in:
Martin Willi
2006-07-04 13:30:49 +00:00
parent 1135f79898
commit 57d02978cf
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ static void receive_packets(private_receiver_t * this)
/* cancellation disabled by default */
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
this->logger->log(this->logger, CONTROL, "receiver thread running, thread_ID: %06d", (int)pthread_self());
this->logger->log(this->logger, CONTROL, "receiver thread running, thread_ID: %06u", (int)pthread_self());
while (1)
{