summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test_options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c
index 18e3e91c13..ed0581199f 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -2308,7 +2308,7 @@ test_options_validate__bandwidth(void *ignored)
"RelayBandwidthRate 1000\n");
ret = options_validate(tdata->old_opt, tdata->opt, tdata->def_opt, 0, &msg);
tt_int_op(ret, OP_EQ, 0);
- tt_int_op(tdata->opt->RelayBandwidthBurst, OP_EQ, 1000);
+ tt_u64_op(tdata->opt->RelayBandwidthBurst, OP_EQ, 1000);
tor_free(msg);
free_options_test_data(tdata);
@@ -2316,7 +2316,7 @@ test_options_validate__bandwidth(void *ignored)
"RelayBandwidthBurst 1001\n");
ret = options_validate(tdata->old_opt, tdata->opt, tdata->def_opt, 0, &msg);
tt_int_op(ret, OP_EQ, 0);
- tt_int_op(tdata->opt->RelayBandwidthRate, OP_EQ, 1001);
+ tt_u64_op(tdata->opt->RelayBandwidthRate, OP_EQ, 1001);
tor_free(msg);
free_options_test_data(tdata);
@@ -2347,7 +2347,7 @@ test_options_validate__bandwidth(void *ignored)
);
ret = options_validate(tdata->old_opt, tdata->opt, tdata->def_opt, 0, &msg);
tt_int_op(ret, OP_EQ, 0);
- tt_int_op(tdata->opt->BandwidthRate, OP_EQ, 1001);
+ tt_u64_op(tdata->opt->BandwidthRate, OP_EQ, 1001);
tor_free(msg);
free_options_test_data(tdata);
@@ -2359,7 +2359,7 @@ test_options_validate__bandwidth(void *ignored)
);
ret = options_validate(tdata->old_opt, tdata->opt, tdata->def_opt, 0, &msg);
tt_int_op(ret, OP_EQ, 0);
- tt_int_op(tdata->opt->BandwidthBurst, OP_EQ, 1001);
+ tt_u64_op(tdata->opt->BandwidthBurst, OP_EQ, 1001);
tor_free(msg);
free_options_test_data(tdata);