You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2016/02/09 14:48:43 UTC

mesos git commit: Fixed the build with gcc 5.2.

Repository: mesos
Updated Branches:
  refs/heads/master 83b43d91a -> 3ca369141


Fixed the build with gcc 5.2.

An unsigned<->signed comparison was failing.

Review: https://reviews.apache.org/r/43359/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3ca36914
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3ca36914
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3ca36914

Branch: refs/heads/master
Commit: 3ca369141285a1fcc1101934475a88b988db84df
Parents: 83b43d9
Author: Bernd Mathiske <be...@mesosphere.io>
Authored: Tue Feb 9 14:48:09 2016 +0100
Committer: Bernd Mathiske <be...@mesosphere.io>
Committed: Tue Feb 9 14:48:09 2016 +0100

----------------------------------------------------------------------
 src/tests/containerizer/isolator_tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/3ca36914/src/tests/containerizer/isolator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/isolator_tests.cpp b/src/tests/containerizer/isolator_tests.cpp
index c20f33e..52a4957 100644
--- a/src/tests/containerizer/isolator_tests.cpp
+++ b/src/tests/containerizer/isolator_tests.cpp
@@ -997,7 +997,7 @@ TEST_F(NetClsIsolatorTest, ROOT_CGROUPS_NetClsIsolate)
     EXPECT_EQ(primary, (classid.get() & 0xffff0000) >> 16);
 
     // Make sure the secondary handle is non-zero.
-    EXPECT_NE(0, classid.get() & 0xffff);
+    EXPECT_NE(0u, classid.get() & 0xffff);
   }
 
   // Isolator cleanup test: Killing the task should cleanup the cgroup