BIND 10 master, updated. 18128a99fd70d66eb09312dd8dfa0f0521033f97 [master] forgot an include and a u for large constant

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 2 12:41:27 UTC 2011


The branch, master has been updated
       via  18128a99fd70d66eb09312dd8dfa0f0521033f97 (commit)
      from  e533dc83ccb7bf541e53f753c28a52248d7b195b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 18128a99fd70d66eb09312dd8dfa0f0521033f97
Author: Jelte Jansen <jelte at isc.org>
Date:   Fri Dec 2 12:54:24 2011 +0100

    [master] forgot an include and a u for large constant
    
    reviewed on jabber

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/factory.cc |    2 ++
 src/lib/dns/serial.h       |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/factory.cc b/src/lib/datasrc/factory.cc
index 085ab52..35a79fe 100644
--- a/src/lib/datasrc/factory.cc
+++ b/src/lib/datasrc/factory.cc
@@ -24,7 +24,9 @@
 #include <datasrc/logger.h>
 
 #include <dlfcn.h>
+#include <cstdlib>
 
+using namespace std;
 using namespace isc::data;
 using namespace isc::datasrc;
 
diff --git a/src/lib/dns/serial.h b/src/lib/dns/serial.h
index 620e274..6e6e29f 100644
--- a/src/lib/dns/serial.h
+++ b/src/lib/dns/serial.h
@@ -27,7 +27,7 @@ namespace dns {
 const uint32_t MAX_SERIAL_INCREMENT = 2147483647;
 
 /// Maximum value a serial can have, used in + operator.
-const uint64_t MAX_SERIAL_VALUE = 4294967296;
+const uint64_t MAX_SERIAL_VALUE = 4294967296u;
 
 /// \brief This class defines DNS serial numbers and serial arithmetic.
 ///




More information about the bind10-changes mailing list