You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2018/05/31 02:26:45 UTC

[4/4] mesos git commit: Fixed a compile warning regarding signed and unsigned integers.

Fixed a compile warning regarding signed and unsigned integers.


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

Branch: refs/heads/master
Commit: 6ae44980c47ed99216edc81c8d4b3ad1255cd711
Parents: 3a3b412
Author: Jie Yu <yu...@gmail.com>
Authored: Wed May 30 19:25:55 2018 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Wed May 30 19:25:55 2018 -0700

----------------------------------------------------------------------
 src/tests/resources_tests.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/6ae44980/src/tests/resources_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/resources_tests.cpp b/src/tests/resources_tests.cpp
index 88576cc..945617f 100644
--- a/src/tests/resources_tests.cpp
+++ b/src/tests/resources_tests.cpp
@@ -1938,7 +1938,8 @@ TEST(ResourcesTest, AbsentResources)
 {
   Try<Resources> resources = Resources::parse("gpus:0");
   ASSERT_SOME(resources);
-  EXPECT_EQ(0, resources->size());
+
+  EXPECT_EQ(0u, resources->size());
 }