summaryrefslogtreecommitdiffstats
path: root/test/ecstresstest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ecstresstest.c')
-rw-r--r--test/ecstresstest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ecstresstest.c b/test/ecstresstest.c
index 5a831e338a..f6adc4235e 100644
--- a/test/ecstresstest.c
+++ b/test/ecstresstest.c
@@ -127,7 +127,7 @@ int setup_tests(void)
{
OPTION_CHOICE o;
- if (!opt_imax(NUM_REPEATS, &num_repeats)) {
+ if (!opt_intmax(NUM_REPEATS, &num_repeats)) {
TEST_error("Cannot parse " NUM_REPEATS);
return 0;
}
@@ -135,7 +135,7 @@ int setup_tests(void)
while ((o = opt_next()) != OPT_EOF) {
switch (o) {
case OPT_NUM_REPEATS:
- if (!opt_imax(opt_arg(), &num_repeats)
+ if (!opt_intmax(opt_arg(), &num_repeats)
|| num_repeats < 0)
return 0;
print_mode = 1;