From: Marcin Siodelski Date: Tue, 26 Aug 2014 05:48:48 +0000 (+0200) Subject: [master] Compilation fix for comparison of std::stream pos value. X-Git-Tag: trac3482_base~15^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=539826f03a0848ce75d9575349f9f7e4625ee430;p=thirdparty%2Fkea.git [master] Compilation fix for comparison of std::stream pos value. This is trivial fix so as I am committing it on my own discretion. Also, this fix had already been reviewed and applied on master branch but apparently disappeared after the recent git migration. --- 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"; }