From: g0dil Date: Tue, 27 Oct 2009 12:43:50 +0000 (+0000) Subject: Utils/Console: Fix 64bit error X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=71b18ab7945f6adc60d1717e1f3d2b95c8d199f1;p=senf.git Utils/Console: Fix 64bit error git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1511 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Utils/Console/Utility.ct b/senf/Utils/Console/Utility.ct index 14b5094..bd132fb 100644 --- a/senf/Utils/Console/Utility.ct +++ b/senf/Utils/Console/Utility.ct @@ -39,7 +39,7 @@ parse(ParseCommandInfo::TokensRange const & tokens, type & out) if (tokens.size() != 1) throw senf::console::SyntaxErrorException("parameter syntax error"); std::string v (tokens.begin()[0].value()); - unsigned i (v.find(':')); + std::string::size_type i (v.find(':')); try { if (i == std::string::npos) out.low = out.high = boost::lexical_cast(v);