From: Tomek Mrugalski Date: Thu, 21 Aug 2014 11:53:30 +0000 (+0200) Subject: [master] compilation fix for #3477 (#3531) X-Git-Tag: trac3482_base~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed121ec4dc0a7af0cf995298fb2010e12b84b031;p=thirdparty%2Fkea.git [master] compilation fix for #3477 (#3531) --- diff --git a/src/lib/dhcpsrv/configuration.cc b/src/lib/dhcpsrv/configuration.cc index 80289e6ac3..49d1c263d9 100644 --- a/src/lib/dhcpsrv/configuration.cc +++ b/src/lib/dhcpsrv/configuration.cc @@ -48,7 +48,7 @@ Configuration::getConfigSummary(const uint32_t selection) const { s << "DDNS: " << (ddns_enabled ? "enabled" : "disabled") << "; "; } - if (s.tellp() == 0) { + if (s.tellp() == static_cast(0)) { s << "no config details available"; }