From 16582c9f5079cb102dadf2a75fcb9f27f4f520b5 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 24 Mar 2009 03:44:14 +0000 Subject: [PATCH] DEVEL15-iced-threadnum-return-cast-20090323 LICENSE IPL10 cast return type from threadNum --- src/viced/viced.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viced/viced.c b/src/viced/viced.c index 53a88d0..3c012e4 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 -- 1.9.4