DEVEL15-iced-threadnum-return-cast-20090323
authorDerrick Brashear <shadow@dementia.org>
Tue, 24 Mar 2009 03:44:14 +0000 (03:44 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 24 Mar 2009 03:44:14 +0000 (03:44 +0000)
LICENSE IPL10

cast return type from threadNum

src/viced/viced.c

index 53a88d0..3c012e4 100644 (file)
@@ -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