From: Derrick Brashear Date: Tue, 24 Mar 2009 03:44:14 +0000 (+0000) Subject: DEVEL15-iced-threadnum-return-cast-20090323 X-Git-Tag: openafs-devel-1_5_58~19 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=16582c9f5079cb102dadf2a75fcb9f27f4f520b5;p=packages%2Fo%2Fopenafs.git DEVEL15-iced-threadnum-return-cast-20090323 LICENSE IPL10 cast return type from threadNum --- diff --git a/src/viced/viced.c b/src/viced/viced.c index 53a88d0e6..3c012e4c1 100644 --- a/src/viced/viced.c +++ b/src/viced/viced.c @@ -351,7 +351,7 @@ ResetCheckDescriptors(void) int threadNum(void) { - return pthread_getspecific(rx_thread_id_key); + return (int)pthread_getspecific(rx_thread_id_key); } #endif