[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/release-0.2.5] Fix a compilation warning in the unit tests
commit 2329d9fe3739aca46d00b47222db2f78bd23e4d3
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Thu Jan 15 12:56:57 2015 -0500
Fix a compilation warning in the unit tests
---
src/test/test_relaycell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_relaycell.c b/src/test/test_relaycell.c
index 5deb362..9aff6ab 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;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits