INN commit: trunk (backends/cvtbatch.c frontends/ovdb_server.c)
INN Commit
rra at isc.org
Fri Nov 6 22:32:09 UTC 2009
Date: Friday, November 6, 2009 @ 14:32:09
Author: iulius
Revision: 8712
Fix two gcc 4.4 cast warnings.
Modified:
trunk/backends/cvtbatch.c
trunk/frontends/ovdb_server.c
-------------------------+
backends/cvtbatch.c | 2 +-
frontends/ovdb_server.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: backends/cvtbatch.c
===================================================================
--- backends/cvtbatch.c 2009-11-06 22:07:09 UTC (rev 8711)
+++ backends/cvtbatch.c 2009-11-06 22:32:09 UTC (rev 8712)
@@ -107,7 +107,7 @@
case FEED_BYTESIZE:
if (Dirty)
putchar(' ');
- printf("%d", len);
+ printf("%lu", (unsigned long)len);
break;
case FEED_FULLNAME:
case FEED_NAME:
Modified: frontends/ovdb_server.c
===================================================================
--- frontends/ovdb_server.c 2009-11-06 22:07:09 UTC (rev 8711)
+++ frontends/ovdb_server.c 2009-11-06 22:32:09 UTC (rev 8712)
@@ -536,7 +536,7 @@
for(i = 0; i < numreaders; i++) {
if(readertab[i].mode == MODE_CLOSED
- || readertab[i].lastactive + CLIENT_TIMEOUT < now) {
+ || (time_t) (readertab[i].lastactive + CLIENT_TIMEOUT) < now) {
delclient(i);
numreaders--;
i--;
More information about the inn-committers
mailing list