Author: metze
Date: 2005-07-31 21:47:28 +0000 (Sun, 31 Jul 2005)
New Revision: 8867

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8867

Log:
try to fix the LOCAL-IRPC test on 64bit platforms

metze
Modified:
   branches/SAMBA_4_0/source/torture/local/irpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/local/irpc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/local/irpc.c      2005-07-31 20:20:27 UTC 
(rev 8866)
+++ branches/SAMBA_4_0/source/torture/local/irpc.c      2005-07-31 21:47:28 UTC 
(rev 8867)
@@ -48,7 +48,7 @@
        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)) {

Reply via email to