fix a -Wparentheses
[ardour.git] / gtk2_ardour / add_video_dialog.cc
index 6d6830d26b4e89e0beced8beb4d84e0e078ac836..5fc53c7de2f1bd0a12f55a8431e79d4f7a76235c 100644 (file)
@@ -333,7 +333,7 @@ AddVideoDialog::file_name (bool &local_file)
                        char *ue = curl_easy_unescape(curl, uri.c_str(), uri.length(), &plen);
 #ifdef PLATFORM_WINDOWS
                        char *tmp;
-                       while (tmp = strchr(ue, '/')) *tmp = '\\';
+                       while ((tmp = strchr(ue, '/'))) *tmp = '\\';
 #endif
                        std::string path = video_get_docroot(Config) + ue;
                        if (!::access(path.c_str(), R_OK)) {