From: Francis Dupont Date: Sun, 14 Jun 2015 21:47:58 +0000 (+0200) Subject: [3899] Promoted to unsigned for output X-Git-Tag: trac3919_base~6^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba5b508f337b52500528e4f49e8f9a0b67d6bb48;p=thirdparty%2Fkea.git [3899] Promoted to unsigned for output --- diff --git a/src/lib/dhcpsrv/addr_utilities.cc b/src/lib/dhcpsrv/addr_utilities.cc index ebe3594e8c..430b08e2a5 100644 --- a/src/lib/dhcpsrv/addr_utilities.cc +++ b/src/lib/dhcpsrv/addr_utilities.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2012,2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2012, 2015 Internet Systems Consortium, Inc. ("ISC") // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above @@ -199,8 +199,8 @@ isc::asiolink::IOAddress lastAddrInPrefix(const isc::asiolink::IOAddress& prefix isc::asiolink::IOAddress getNetmask4(uint8_t len) { if (len > 32) { - isc_throw(BadValue, "Invalid netmask size " << len << ", allowed range " - "is 0..32"); + isc_throw(BadValue, "Invalid netmask size " + << static_cast(len) << ", allowed range is 0..32"); } uint32_t x = ~bitMask4[len];