Skip to content

Fix build on 32-bit Windows.

Alexander Færøy requested to merge ahf/tor:bugs/40199_take2 into master

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]
   update_approx_time(10101010101);

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

See: #40199 (closed)

Merge request reports