From c4274fee711935b758144d7df5f26c593b4e5d14 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 21 Dec 2006 06:48:42 +0000 Subject: r20302: added support for 64 bit file offsets in NBENCH (This used to be commit 9a9f18914139370311a13044bde7948a2a901738) --- source4/torture/nbench/nbench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/nbench/nbench.c') diff --git a/source4/torture/nbench/nbench.c b/source4/torture/nbench/nbench.c index e4ba491492..f671a5b0de 100644 --- a/source4/torture/nbench/nbench.c +++ b/source4/torture/nbench/nbench.c @@ -34,7 +34,7 @@ static int warmup; static const char *loadfile; static int read_only; -#define ival(s) strtol(s, NULL, 0) +#define ival(s) strtoll(s, NULL, 0) /* run a test that simulates an approximate netbench client load */ static BOOL run_netbench(struct torture_context *tctx, struct smbcli_state *cli, int client) -- cgit