mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
Add a missing UL on a long in a unit test
This commit is contained in:
parent
b99bd3e7ff
commit
19fb86a2dc
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ test_util_time(void *arg)
|
||||||
|
|
||||||
/* Test format_iso_time */
|
/* Test format_iso_time */
|
||||||
|
|
||||||
tv.tv_sec = (time_t)1326296338;
|
tv.tv_sec = (time_t)1326296338UL;
|
||||||
tv.tv_usec = 3060;
|
tv.tv_usec = 3060;
|
||||||
format_iso_time(timestr, (time_t)tv.tv_sec);
|
format_iso_time(timestr, (time_t)tv.tv_sec);
|
||||||
tt_str_op("2012-01-11 15:38:58",OP_EQ, timestr);
|
tt_str_op("2012-01-11 15:38:58",OP_EQ, timestr);
|
||||||
|
|
Loading…
Add table
Reference in a new issue