forked from premiere/premiere-libtorrent
fix non UNC paths build
This commit is contained in:
parent
341967dab7
commit
f49c6d2d52
|
@ -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 += "_";
|
||||
|
|
Loading…
Reference in New Issue