summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
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)) {