aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/rpcauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os/rpcauth.c')
-rw-r--r--xorg-server/os/rpcauth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/os/rpcauth.c b/xorg-server/os/rpcauth.c
index bd219acfa..d60ea3518 100644
--- a/xorg-server/os/rpcauth.c
+++ b/xorg-server/os/rpcauth.c
@@ -113,7 +113,7 @@ authdes_ezdecode(const char *inmsg, int len)
static XID rpc_id = (XID) ~0L;
static Bool
-CheckNetName(unsigned char *addr, short len, pointer closure)
+CheckNetName(unsigned char *addr, short len, void *closure)
{
return (len == strlen((char *) closure) &&
strncmp((char *) addr, (char *) closure, len) == 0);
@@ -159,7 +159,7 @@ _X_HIDDEN int
SecureRPCAdd(unsigned short data_length, const char *data, XID id)
{
if (data_length)
- AddHost((pointer) 0, FamilyNetname, data_length, data);
+ AddHost((void *) 0, FamilyNetname, data_length, data);
rpc_id = id;
return 1;
}