From: serassio <> Date: Sat, 23 Apr 2005 22:53:18 +0000 (+0000) Subject: pthread_t is not always an unsigned long, a type cast is needed. X-Git-Tag: SQUID_3_0_PRE4~799 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=691aef5aec7691fcd4cbd31e3ea14bf0a33a24ae;p=thirdparty%2Fsquid.git pthread_t is not always an unsigned long, a type cast is needed. --- diff --git a/src/DiskIO/DiskThreads/aiops.cc b/src/DiskIO/DiskThreads/aiops.cc index 5eba144ef1..946dddc62f 100644 --- a/src/DiskIO/DiskThreads/aiops.cc +++ b/src/DiskIO/DiskThreads/aiops.cc @@ -1,5 +1,5 @@ /* - * $Id: aiops.cc,v 1.4 2005/04/06 20:36:10 serassio Exp $ + * $Id: aiops.cc,v 1.5 2005/04/23 16:53:18 serassio Exp $ * * DEBUG: section 43 AIOPS * AUTHOR: Stewart Forster @@ -1091,7 +1091,7 @@ squidaio_stats(StoreEntry * sentry) threadp = threads; for (i = 0; i < NUMTHREADS; i++) { - storeAppendPrintf(sentry, "%i\t0x%lx\t%ld\n", i + 1, threadp->thread, threadp->requests); + storeAppendPrintf(sentry, "%i\t0x%lx\t%ld\n", i + 1, (unsigned long)threadp->thread, threadp->requests); threadp = threadp->next; } }