ports/mail/gmime30/patches/patch-tests_test-mime_c

15 lines
496 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
64bit time_t
Index: tests/test-mime.c
--- tests/test-mime.c.orig
+++ tests/test-mime.c
@@ -377,7 +377,7 @@ test_date_parser (void)
tz_offset *= sign;
if (time != dates[i].date)
- throw (exception_new ("time_t's do not match: actual: %ld; expected: %ld", time, dates[i].date));
+ throw (exception_new ("time_t's do not match: actual: %lld; expected: %lld", time, dates[i].date));
if (tz_offset != dates[i].tzone)
throw (exception_new ("timezones do not match"));