From: tho Date: Wed, 14 Dec 2011 09:19:06 +0000 (+0000) Subject: minor fixes for clang++ X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=master;p=senf.git minor fixes for clang++ git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1838 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Utils/Console/SysInfo.cc b/senf/Utils/Console/SysInfo.cc index 24fe120..c908096 100644 --- a/senf/Utils/Console/SysInfo.cc +++ b/senf/Utils/Console/SysInfo.cc @@ -54,7 +54,7 @@ prefix_ void senf::console::SysInfo::addEntry(std::string const & descr, int pos if (pos < 0) descr_.push_back( descr); else - descr_.insert( boost::next(descr_.begin(), pos > descr_.size() ? descr_.size() : pos), descr); + descr_.insert( boost::next(descr_.begin(), pos > int(descr_.size()) ? int(descr_.size()) : pos), descr); } diff --git a/senf/Utils/Termlib/telnetServer.cc b/senf/Utils/Termlib/telnetServer.cc index 365900e..17a5e17 100644 --- a/senf/Utils/Termlib/telnetServer.cc +++ b/senf/Utils/Termlib/telnetServer.cc @@ -49,6 +49,7 @@ namespace { class MyTelnet : public senf::term::TelnetTerminal { + SENF_LOG_CLASS_AREA(); public: explicit MyTelnet(Handle handle) : senf::term::BaseTelnetProtocol (handle),