summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-15 12:56:57 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-15 12:56:57 -0500
commit2329d9fe3739aca46d00b47222db2f78bd23e4d3 (patch)
treeeba2082653e5506ad9987ea319dba7ab6708c751
parent746bb55851433a0709e277ea3e1838d0d9b77d9c (diff)
downloadtor-2329d9fe3739aca46d00b47222db2f78bd23e4d3.tar.gz
tor-2329d9fe3739aca46d00b47222db2f78bd23e4d3.zip
Fix a compilation warning in the unit tests
-rw-r--r--src/test/test_relaycell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_relaycell.c b/src/test/test_relaycell.c
index 5deb36260f..9aff6ab49e 100644
--- a/src/test/test_relaycell.c
+++ b/src/test/test_relaycell.c
@@ -104,7 +104,7 @@ test_relaycell_resolved(void *arg)
tt_int_op(srm_answer_is_set, ==, 0); \
} \
tt_int_op(srm_ttl, ==, ttl); \
- tt_int_op(srm_expires, ==, expires); \
+ tt_i64_op((int64_t)srm_expires, ==, (int64_t)expires); \
} while (0)
(void)arg;