Skip to content

Commit

Permalink
lib: Fix test-utc-mktime with 32bit time_t
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Feb 21, 2017
1 parent 8aa80a3 commit 1b41f47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/test-utc-mktime.c
Expand Up @@ -24,7 +24,9 @@ void test_utc_mktime(void)
{ INT_MAX, INT_MAX, INT_MAX, INT_MAX, INT_MAX, INT_MAX, -1 },
{ 2038, 1, 19, 3, 14, 8, 2147483648 },
{ 2106, 2, 7, 6, 28, 15, 4294967295 },
#if TIME_T_MAX_BITS > 32
{ 2106, 2, 7, 6, 28, 16, 4294967296 },
#endif
/* June leap second */
{ 2015, 6, 30, 23, 59, 59, 1435708799 },
{ 2015, 6, 30, 23, 59, 60, 1435708799 },
Expand Down

0 comments on commit 1b41f47

Please sign in to comment.