Commit 76406315 authored by Alexander Færøy's avatar Alexander Færøy 🍍
Browse files

Fix build on 32-bit Windows.

Currently Tor fails with the following error:

    src/test/test_stats.c: In function ‘test_rephist_v3_onions’:
    src/test/test_stats.c:527:22: error: overflow in implicit constant conversion [-Werror=overflow]

This patch changes the constant passed to update_approx_time() to avoid
the overflow in the implicit conversion.

See: tor#40199
parent fd809797
Pipeline #1806 failed with stage
in 55 minutes and 16 seconds
......@@ -524,7 +524,9 @@ test_rephist_v3_onions(void *arg)
/* Initialize the subsystems */
/* Change time to 03-01-2002 23:36 UTC */
/* HS stats should be zero here */
hs_v3_stats = rep_hist_get_hs_v3_stats();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment