summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/local/irpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/local/irpc.c b/source4/torture/local/irpc.c
index 219cf0bcdb..2ce9eb675d 100644
--- a/source4/torture/local/irpc.c
+++ b/source4/torture/local/irpc.c
@@ -242,8 +242,8 @@ struct torture_suite *torture_local_irpc(TALLOC_CTX *mem_ctx)
struct torture_suite *suite = torture_suite_create(mem_ctx, "LOCAL-IRPC");
struct torture_tcase *tcase = torture_suite_add_tcase(suite, "irpc");
int i;
- uint32_t values[] = {0, 0x7FFFFFFE, 0xFFFFFFFE, 0xFFFFFFFF,
- random() & 0xFFFFFFFF};
+ static uint32_t values[] = {0, 0x7FFFFFFE, 0xFFFFFFFE, 0xFFFFFFFF,
+ random() & 0xFFFFFFFF};
tcase->setup = irpc_setup;