[svn] commit: r1298 - /trunk/src/lib/dns/rrttl.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Mar 10 20:32:33 UTC 2010


Author: jinmei
Date: Wed Mar 10 20:32:32 2010
New Revision: 1298

Log:
fixed a signed/unsigned error (found by -Werror)

Modified:
    trunk/src/lib/dns/rrttl.cc

Modified: trunk/src/lib/dns/rrttl.cc
==============================================================================
--- trunk/src/lib/dns/rrttl.cc (original)
+++ trunk/src/lib/dns/rrttl.cc Wed Mar 10 20:32:32 2010
@@ -34,7 +34,7 @@
     // Some systems (at least gcc-4.4) flow negative values over into
     // unsigned integer, where older systems failed to parse. We want
     // that failure here, so we extract into int64 and check the value
-    uint64_t val;
+    int64_t val;
 
     istringstream iss(ttlstr);
     iss >> dec >> val;




More information about the bind10-changes mailing list