am 8c2b9269: am ab1aa20d: am bacac0f7: Merge "Fix comparison between signed and unsigned error on darwin"
* commit '8c2b9269c3d65947dd525bb1c51377ec725377f2':
Fix comparison between signed and unsigned error on darwin
diff --git a/base/file_test.cpp b/base/file_test.cpp
index cbb2751..b138094 100644
--- a/base/file_test.cpp
+++ b/base/file_test.cpp
@@ -66,7 +66,7 @@
<< strerror(errno);
struct stat sb;
ASSERT_EQ(0, stat(tf.filename, &sb));
- ASSERT_EQ(0660U, (sb.st_mode & ~S_IFMT));
+ ASSERT_EQ(0660U, static_cast<unsigned int>(sb.st_mode & ~S_IFMT));
ASSERT_EQ(getuid(), sb.st_uid);
ASSERT_EQ(getgid(), sb.st_gid);
std::string s;