diff --git a/os/rpcauth.c b/os/rpcauth.c index 9209021e0..c531a54e8 100644 --- a/os/rpcauth.c +++ b/os/rpcauth.c @@ -156,7 +156,7 @@ SecureRPCCheck(unsigned short data_length, const char *data, _X_HIDDEN void SecureRPCInit(void) { - if (rpc_id == ~0L) + if (rpc_id == (XID) ~0L) AddAuthorization(9, "SUN-DES-1", 0, (char *) 0); }