]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Fix again test-utc-mktime with 32bit time_t
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 21 Feb 2017 20:34:14 +0000 (22:34 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 21 Feb 2017 20:34:14 +0000 (22:34 +0200)
src/lib/test-utc-mktime.c

index 753f3fa97f19c9a089443486843a4faa1fb95a0f..261c8b8be17e3db1c54442b0dc2e2619a4c55018 100644 (file)
@@ -17,12 +17,12 @@ void test_utc_mktime(void)
 #endif
 #if (TIME_T_MAX_BITS > 32 || !defined(TIME_T_SIGNED))
                { 2106, 2, 7, 6, 28, 15, 4294967295 },
+               { 2038, 1, 19, 3, 14, 8, 2147483648 },
 #endif
                { 2007, 11, 7, 1, 7, 20, 1194397640 },
                { 1970, 1, 1, 0, 0, 0, 0 },
                { 2038, 1, 19, 3, 14, 7, 2147483647 },
                { 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 },