]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
viced-threadnum-return-cast-20090323
authorDerrick Brashear <shadow@dementia.org>
Tue, 24 Mar 2009 03:43:59 +0000 (03:43 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 24 Mar 2009 03:43:59 +0000 (03:43 +0000)
LICENSE IPL10

cast return type from threadNum

src/viced/viced.c

index 2d5d18287fa5228063caf504e4bfa04f9cf573cf..00cd9edc2b13e17aa5986a100db319a16b43552b 100644 (file)
@@ -355,7 +355,7 @@ ResetCheckDescriptors(void)
 int
 threadNum(void)
 {
-    return pthread_getspecific(rx_thread_id_key);
+    return (int)pthread_getspecific(rx_thread_id_key);
 }
 #endif