]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2374] Use correct type for base of strtoul()
authorJelte Jansen <jelte@isc.org>
Mon, 26 Nov 2012 10:48:48 +0000 (11:48 +0100)
committerJelte Jansen <jelte@isc.org>
Mon, 26 Nov 2012 10:48:48 +0000 (11:48 +0100)
src/lib/dns/master_lexer.cc

index 22c085e4f2b76f35d0386b1f407971e6b531b59d..20975448543cb5e900a44745e1e7ba6bfeced6cc 100644 (file)
@@ -398,7 +398,7 @@ const State*
 Number::handle(MasterLexer& lexer) const {
     MasterLexer::Token& token = getLexerImpl(lexer)->token_;
     // Do we want to support octal and/or hex here?
-    const unsigned int base = 10;
+    const int base = 10;
 
     // It may yet turn out to be a string, so we first
     // collect all the data