From ae4dea0483145ec6e57a818907d3f007875a6009 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 28 Apr 2017 00:30:59 +0300 Subject: MinGW GCC happy (reorder inline functions, parentheses) --- butl/filesystem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'butl/filesystem.cxx') diff --git a/butl/filesystem.cxx b/butl/filesystem.cxx index 5258a57..16c633a 100644 --- a/butl/filesystem.cxx +++ b/butl/filesystem.cxx @@ -573,7 +573,7 @@ namespace butl throw_system_error (ec); } - if (s.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY != 0) + if ((s.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0) return timestamp_nonexistent; // Time in FILETIME is in 100 nanosecond "ticks" since "Windows epoch" -- cgit v1.1