git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
466eb22
)
aix42-pthread-self-return-needs-cast-20010514
author
Mark Dapoz
<md@dementia.org>
Mon, 14 May 2001 23:26:34 +0000 (23:26 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 14 May 2001 23:26:34 +0000 (23:26 +0000)
To compile on AIX 4.2 on PowerPC
src/rx/rx.c
patch
|
blob
|
history
diff --git
a/src/rx/rx.c
b/src/rx/rx.c
index
94fe774
..
43fa166
100644
(file)
--- a/
src/rx/rx.c
+++ b/
src/rx/rx.c
@@
-666,7
+666,7
@@
void rx_StartServer(donateMe)
char name[32];
#ifdef AFS_PTHREAD_ENV
pid_t pid;
- pid = pthread_self();
+ pid = (pid_t) pthread_self();
#else /* AFS_PTHREAD_ENV */
PROCESS pid;
code = LWP_CurrentProcess(&pid);