From: g0dil Date: Mon, 28 Sep 2009 11:20:36 +0000 (+0000) Subject: Packets: Fix 64bit failure X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=f076d352ab8df15662180942996ebc70a9e4d765;p=senf.git Packets: Fix 64bit failure git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1452 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Packets/DumpFormat.cc b/senf/Packets/DumpFormat.cc index 2ce3b3f..2c99df2 100644 --- a/senf/Packets/DumpFormat.cc +++ b/senf/Packets/DumpFormat.cc @@ -40,7 +40,7 @@ prefix_ std::string senf::fieldName(std::string const & s) { - std::string t (std::max(unsigned(SENF_PACKET_DUMP_COLON_COLUMN+1), s.size()+5), ' '); + std::string t (std::max(std::string::size_type(SENF_PACKET_DUMP_COLON_COLUMN+1), s.size()+5), ' '); std::copy(s.begin(), s.end(), t.begin()+2); t[t.size()-2] = ':'; return t;