summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-07-31 21:47:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:13 -0500
commitc846ec3398139c99f4bb554c20a53a0117a3aeb5 (patch)
treeb6fdba9b9840232f1243d1f21bac7c8ea4c38561 /source4/torture
parentc798d287ed4df7339bc69b55181cd3a3a596bca1 (diff)
downloadsamba-c846ec3398139c99f4bb554c20a53a0117a3aeb5.tar.gz
samba-c846ec3398139c99f4bb554c20a53a0117a3aeb5.tar.bz2
samba-c846ec3398139c99f4bb554c20a53a0117a3aeb5.zip
r8867: try to fix the LOCAL-IRPC test on 64bit platforms
metze (This used to be commit b7401c142a53696eb74af4fc4bc992728846d20e)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/local/irpc.c2
1 files changed, 1 insertions, 1 deletions
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)) {