summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/clnt_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/clnt_simple.c')
-rw-r--r--libc/inet/rpc/clnt_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/clnt_simple.c b/libc/inet/rpc/clnt_simple.c
index 425288293..b0af24a98 100644
--- a/libc/inet/rpc/clnt_simple.c
+++ b/libc/inet/rpc/clnt_simple.c
@@ -58,7 +58,7 @@ struct callrpc_private_s
char *oldhost;
};
#ifdef __UCLIBC_HAS_THREADS__
-#define callrpc_private ((struct callrpc_private_s *)RPC_THREAD_VARIABLE(callrpc_private_s))
+#define callrpc_private (*(struct callrpc_private_s **)&RPC_THREAD_VARIABLE(callrpc_private_s))
#else
static struct callrpc_private_s *callrpc_private;
#endif