From f49c6d2d521eb83acf95241917ed5ba881801677 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 9 Mar 2012 00:14:30 +0000 Subject: [PATCH] fix non UNC paths build --- src/torrent_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrent_info.cpp b/src/torrent_info.cpp index 0a72005aa..83a5aa560 100644 --- a/src/torrent_info.cpp +++ b/src/torrent_info.cpp @@ -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 += "_";