Index: base/platform_file_win.cc |
=================================================================== |
--- base/platform_file_win.cc (revision 115937) |
+++ base/platform_file_win.cc (working copy) |
@@ -216,7 +216,7 @@ |
size.LowPart = file_info.nFileSizeLow; |
info->size = size.QuadPart; |
info->is_directory = |
- file_info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY != 0; |
+ (file_info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0; |
info->is_symbolic_link = false; // Windows doesn't have symbolic links. |
info->last_modified = base::Time::FromFileTime(file_info.ftLastWriteTime); |
info->last_accessed = base::Time::FromFileTime(file_info.ftLastAccessTime); |