summaryrefslogtreecommitdiff
path: root/test/testdate.c
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-04-15 14:56:01 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-04-15 14:56:01 +0000
commit77b410d4a28d57bad269245125acd65790790e4c (patch)
tree58d4fcc9037afc4647836e13dbe4084ba21c1e73 /test/testdate.c
parent2e6f487d5879ea9da4ca2e55481226a9b44ff5a8 (diff)
downloadlibapr-util-77b410d4a28d57bad269245125acd65790790e4c.tar.gz
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
Diffstat (limited to 'test/testdate.c')
-rw-r--r--test/testdate.c10
1 files changed, 5 insertions, 5 deletions
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);