Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bacac0f7 authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge "Fix comparison between signed and unsigned error on darwin"

parents b7a15500 56b37345
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -66,7 +66,7 @@ TEST(file, WriteStringToFile2) {
      << strerror(errno);
      << strerror(errno);
  struct stat sb;
  struct stat sb;
  ASSERT_EQ(0, stat(tf.filename, &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(getuid(), sb.st_uid);
  ASSERT_EQ(getgid(), sb.st_gid);
  ASSERT_EQ(getgid(), sb.st_gid);
  std::string s;
  std::string s;