INN commit: trunk/tests/overview (api-t.c)
INN Commit
rra at isc.org
Wed Jul 31 17:11:28 UTC 2013
Date: Wednesday, July 31, 2013 @ 10:11:28
Author: iulius
Revision: 9516
fix two casts to unsigned long
Modified:
trunk/tests/overview/api-t.c
---------+
api-t.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: api-t.c
===================================================================
--- api-t.c 2013-07-31 17:10:11 UTC (rev 9515)
+++ api-t.c 2013-07-31 17:11:28 UTC (rev 9516)
@@ -294,7 +294,7 @@
}
if (data->arrived != (time_t) artnum * 10) {
warn("Arrival time wrong for %s:%lu: %lu != %lu", group, artnum,
- data->arrived, artnum * 10);
+ (unsigned long) data->arrived, artnum * 10);
status = false;
}
@@ -304,7 +304,7 @@
expires = (artnum % 5 == 0) ? artnum * 100 : artnum;
if (data->expires != 0) {
warn("Expires time wrong for %s:%lu: %lu != %lu", group, artnum,
- data->expires, 0UL);
+ (unsigned long) data->expires, 0UL);
status = false;
}
return status;
More information about the inn-committers
mailing list