fix non UNC paths build

This commit is contained in:
Arvid Norberg 2012-03-09 00:14:30 +00:00
parent 341967dab7
commit f49c6d2d52
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ namespace libtorrent
char const* file_end = strrchr(pe.c_str(), '.');
std::string name(pe.c_str(), file_end);
std::transform(name.begin(), name.end(), name.begin(), &to_lower);
char const* str = std::find(reserved_names, reserved_names + num_names, name);
char const** str = std::find(reserved_names, reserved_names + num_names, name);
if (str != reserved + num_names)
{
pe += "_";