From 466c50d3a0d27dbb045fccba1caeeb5d44cfe73c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 9 Aug 2015 18:03:41 +0200 Subject: [PATCH] fix a -Wparentheses --- gtk2_ardour/add_video_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/add_video_dialog.cc b/gtk2_ardour/add_video_dialog.cc index 6d6830d26b..5fc53c7de2 100644 --- a/gtk2_ardour/add_video_dialog.cc +++ b/gtk2_ardour/add_video_dialog.cc @@ -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)) {