summaryrefslogtreecommitdiff
path: root/src/or/hs_cell.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-08-11 15:08:45 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-08-11 15:08:45 -0400
commit257f50b22fbaf9c9cb5859e257437b24af46c7ab (patch)
treead1459ed6d6ec0fac7c95d20abbfd331317e62c2 /src/or/hs_cell.c
parent598bf986b60cbbb447aa288eb8c05dcaca282d0f (diff)
downloadtor-257f50b22fbaf9c9cb5859e257437b24af46c7ab.tar.gz
tor-257f50b22fbaf9c9cb5859e257437b24af46c7ab.zip
Make Windows happy for time_t printf format
Our Windows compiler treats "time_t" as long long int but Linux likes it long int so cast those to make Windows happy. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_cell.c')
-rw-r--r--src/or/hs_cell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_cell.c b/src/or/hs_cell.c
index a0e9074601..7728b77053 100644
--- a/src/or/hs_cell.c
+++ b/src/or/hs_cell.c
@@ -444,7 +444,7 @@ hs_cell_parse_introduce2(hs_cell_introduce2_data_t *data,
encrypted_section_len, &elapsed)) {
log_warn(LD_REND, "Possible replay detected! An INTRODUCE2 cell with the"
"same ENCRYPTED section was seen %ld seconds ago. "
- "Dropping cell.", elapsed);
+ "Dropping cell.", (long int) elapsed);
goto done;
}