X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fhttp%2Fresponse.cpp;h=739a20f3da2fa2ba6503e13b216ba842b9403ec3;hp=85e279f579a35cd08a6e4ad446ef1836771a282e;hb=b4e0f7ed23f24e78fd09c9b7f206279e16d38c1e;hpb=049fc42b671d623815408c3658a450b73063fec5 diff --git a/source/http/response.cpp b/source/http/response.cpp index 85e279f..739a20f 100644 --- a/source/http/response.cpp +++ b/source/http/response.cpp @@ -23,7 +23,7 @@ Response Response::parse(const string &str) { Response result; - unsigned lf = str.find('\n'); + string::size_type lf = str.find('\n'); vector parts = split(str.substr(0, lf), ' ', 2); if(parts.size()<2) throw invalid_argument("Response::parse");