From 77b410d4a28d57bad269245125acd65790790e4c Mon Sep 17 00:00:00 2001 From: trawick Date: Tue, 15 Apr 2003 14:56:01 +0000 Subject: use APR_TIME_T_FMT instead of assuming that apr_time_t is long long int git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58885 13f79535-47bb-0310-9956-ffa450edef68 --- test/testdate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/testdate.c') diff --git a/test/testdate.c b/test/testdate.c index 3cf6810d..b13bc4d1 100644 --- a/test/testdate.c +++ b/test/testdate.c @@ -167,13 +167,13 @@ int main (void) secstodate *= APR_USEC_PER_SEC; newsecs = apr_date_parse_http(datestr); if (secstodate == newsecs) - printf("Yes %4d %19lld %s\n", year, secstodate, datestr); + printf("Yes %4d %19" APR_TIME_T_FMT " %s\n", year, secstodate, datestr); else if (newsecs == APR_DATE_BAD) - printf("No %4d %19lld %19lld %s\n", year, secstodate, - newsecs, datestr); + printf("No %4d %19" APR_TIME_T_FMT " %19" APR_TIME_T_FMT " %s\n", + year, secstodate, newsecs, datestr); else - printf("No* %4d %19lld %19lld %s\n", year, secstodate, - newsecs, datestr); + printf("No* %4d %19" APR_TIME_T_FMT " %19" APR_TIME_T_FMT " %s\n", + year, secstodate, newsecs, datestr); } srand48(978245L); -- cgit v1.2.1