]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] compilation fix for #3477 (#3531)
authorTomek Mrugalski <tomasz@isc.org>
Thu, 21 Aug 2014 11:53:30 +0000 (13:53 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 21 Aug 2014 11:53:30 +0000 (13:53 +0200)
src/lib/dhcpsrv/configuration.cc

index 80289e6ac3bfd0f255c680d80c66a4a37905371d..49d1c263d913691220424b7f8e405852b1217a6e 100644 (file)
@@ -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<std::streampos>(0)) {
         s << "no config details available";
     }