fix std::string::size_type type

This commit is contained in:
Arvid Norberg
2010-03-06 03:57:48 +00:00
parent a7e6ce7c00
commit b835b03ae8
3 changed files with 3 additions and 3 deletions

View File

@@ -473,7 +473,7 @@ namespace libtorrent
}
std::string url_has_argument(
std::string const& url, std::string argument, int* out_pos)
std::string const& url, std::string argument, std::string::size_type* out_pos)
{
size_t i = url.find('?');
if (i == std::string::npos) return std::string();