diff options
Diffstat (limited to 'butl/filesystem.cxx')
-rw-r--r-- | butl/filesystem.cxx | 2 |
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" |