commit 19fb86a2dc0a95c6b009f977c35a01b7a2211546 Author: teor (Tim Wilson-Brown) teor2345@gmail.com Date: Fri Mar 4 18:16:09 2016 +0100
Add a missing UL on a long in a unit test --- src/test/test_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_util.c b/src/test/test_util.c index f0b9476..58ffdea 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -690,7 +690,7 @@ test_util_time(void *arg)
/* Test format_iso_time */
- tv.tv_sec = (time_t)1326296338; + tv.tv_sec = (time_t)1326296338UL; tv.tv_usec = 3060; format_iso_time(timestr, (time_t)tv.tv_sec); tt_str_op("2012-01-11 15:38:58",OP_EQ, timestr);
tor-commits@lists.torproject.org