git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a209012
)
viced-threadnum-return-cast-20090323
author
Derrick Brashear
<shadow@dementia.org>
Tue, 24 Mar 2009 03:43:59 +0000 (
03:43
+0000)
committer
Derrick 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
patch
|
blob
|
history
diff --git
a/src/viced/viced.c
b/src/viced/viced.c
index
2d5d182
..
00cd9ed
100644
(file)
--- a/
src/viced/viced.c
+++ b/
src/viced/viced.c
@@
-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