From: Mark Dapoz Date: Mon, 14 May 2001 23:26:34 +0000 (+0000) Subject: aix42-pthread-self-return-needs-cast-20010514 X-Git-Tag: openafs-stable-1_1_0~166 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=79f34e549a24b763955e22267eaf01b893ba65d5;p=packages%2Fo%2Fopenafs.git aix42-pthread-self-return-needs-cast-20010514 To compile on AIX 4.2 on PowerPC --- diff --git a/src/rx/rx.c b/src/rx/rx.c index 94fe77467..43fa1665c 100644 --- 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);