GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Fix build on 64-bit Windows.

Currently Tor fails with the following error:

    src/feature/stats/rephist.c:2012:34: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘time_t {aka long long int}’ [-Werror=format=]
       tor_asprintf(&hs_stats_string, "%s %s (%ld s)\n"

We solve this issue by computing the time delta and store it in an
uint64_t and use PRIu64 for formatting.

See: tor#40199
9 jobs for bugs/40199 in 40 minutes and 17 seconds (queued for 44 seconds)
Status Job ID Name Coverage
  Test
passed #6095
debian-disable-dirauth

00:06:47

passed #6096
debian-disable-relay

00:09:42

passed #6091
debian-distcheck

00:07:02

passed #6092
debian-docs

00:03:43

passed #6090
debian-hardened

00:14:02

failed #6093
debian-integration

00:11:45

passed #6089
debian-minimal

00:06:10

passed #6097
debian-nss

00:07:11

passed #6094
debian-tracing

00:07:17

 
Name Stage Failure
failed
debian-integration Test
11/20/2020 23:14:47 [NOTICE] Beginning test test.integ.process.TestProcess
11/20/2020 23:14:47 [NOTICE] Finished test test.integ.process.TestProcess
FATAL ERROR: Failed tests: chutney stem
Uploading artifacts for failed job
Uploading artifacts...
artifacts/: found 2 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=6093 responseStatus=201 Created token=AHvMaygU
Cleaning up file based variables
ERROR: Job failed: exit code 1