From: Jelte Jansen Date: Mon, 26 Nov 2012 10:48:48 +0000 (+0100) Subject: [2374] Use correct type for base of strtoul() X-Git-Tag: bind10-1.0.0-beta-release~46^2~27^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9904f524d6a3d1f83bfa0cf94751b323f64bc233;p=thirdparty%2Fkea.git [2374] Use correct type for base of strtoul() --- diff --git a/src/lib/dns/master_lexer.cc b/src/lib/dns/master_lexer.cc index 22c085e4f2..2097544854 100644 --- a/src/lib/dns/master_lexer.cc +++ b/src/lib/dns/master_lexer.cc @@ -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