From: Derrick Brashear Date: Tue, 24 Mar 2009 03:44:36 +0000 (+0000) Subject: STABLE14-viced-threadnum-return-cast-20090323 X-Git-Tag: openafs-stable-1_4_9pre1 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=68b9157a060754fec174d3eda35da54cbbf3c014;p=packages%2Fo%2Fopenafs.git STABLE14-viced-threadnum-return-cast-20090323 LICENSE IPL10 cast return type from threadNum (cherry picked from commit ede1c215d16d394fcd0afb7aacd827680be56cf6) --- diff --git a/src/viced/viced.c b/src/viced/viced.c index d4f83a14e..458b9356f 100644 --- a/src/viced/viced.c +++ b/src/viced/viced.c @@ -318,7 +318,7 @@ ResetCheckDescriptors(void) int threadNum(void) { - return pthread_getspecific(rx_thread_id_key); + return (int)pthread_getspecific(rx_thread_id_key); } #endif