Commit 539826f0 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[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.
parent 875bf199
......@@ -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";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment