aboutsummaryrefslogtreecommitdiff
path: root/butl/filesystem.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-28 00:30:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-28 12:08:14 +0300
commitae4dea0483145ec6e57a818907d3f007875a6009 (patch)
tree84c01e0b36292f55dd988a6c55949475f9e42218 /butl/filesystem.cxx
parent55f115d875bf70305ca43e93761395b4329a23a6 (diff)
MinGW GCC happy (reorder inline functions, parentheses)
Diffstat (limited to 'butl/filesystem.cxx')
-rw-r--r--butl/filesystem.cxx2
1 files changed, 1 insertions, 1 deletions
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"