From c846ec3398139c99f4bb554c20a53a0117a3aeb5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 31 Jul 2005 21:47:28 +0000 Subject: r8867: try to fix the LOCAL-IRPC test on 64bit platforms metze (This used to be commit b7401c142a53696eb74af4fc4bc992728846d20e) --- source4/torture/local/irpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/local') diff --git a/source4/torture/local/irpc.c b/source4/torture/local/irpc.c index 060456cf5e..a8b35d299a 100644 --- a/source4/torture/local/irpc.c +++ b/source4/torture/local/irpc.c @@ -48,7 +48,7 @@ static BOOL test_addone(TALLOC_CTX *mem_ctx, NTSTATUS status; /* make the call */ - r.in.in_data = random(); + r.in.in_data = random() & 0xFFFFFFFF; status = IRPC_CALL(msg_ctx1, MSG_ID2, rpcecho, ECHO_ADDONE, &r); if (!NT_STATUS_IS_OK(status)) { -- cgit