You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jp...@apache.org on 2018/01/12 19:17:09 UTC

mesos git commit: Fixed some unsigned comparison warnings.

Repository: mesos
Updated Branches:
  refs/heads/master 93ab49409 -> e39809bd6


Fixed some unsigned comparison warnings.


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

Branch: refs/heads/master
Commit: e39809bd67fba7205fe293f1f888eb2c357ded33
Parents: 93ab494
Author: James Peach <jp...@apache.org>
Authored: Fri Jan 12 11:16:04 2018 -0800
Committer: James Peach <jp...@apache.org>
Committed: Fri Jan 12 11:16:04 2018 -0800

----------------------------------------------------------------------
 src/master/allocator/mesos/hierarchical.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e39809bd/src/master/allocator/mesos/hierarchical.cpp
----------------------------------------------------------------------
diff --git a/src/master/allocator/mesos/hierarchical.cpp b/src/master/allocator/mesos/hierarchical.cpp
index 5697edc..f33ff76 100644
--- a/src/master/allocator/mesos/hierarchical.cpp
+++ b/src/master/allocator/mesos/hierarchical.cpp
@@ -196,7 +196,7 @@ void HierarchicalAllocatorProcess::recover(
   // Recovery should start before actual allocation starts.
   CHECK(initialized);
   CHECK(slaves.empty());
-  CHECK_EQ(0, quotaRoleSorter->count());
+  CHECK_EQ(0u, quotaRoleSorter->count());
   CHECK(_expectedAgentCount >= 0);
 
   // If there is no quota, recovery is a no-op. Otherwise, we need
@@ -2596,7 +2596,7 @@ void HierarchicalAllocatorProcess::untrackFrameworkUnderRole(
   // they don't have any registered frameworks.
 
   if (roles.at(role).empty()) {
-    CHECK_EQ(frameworkSorters.at(role)->count(), 0);
+    CHECK_EQ(frameworkSorters.at(role)->count(), 0u);
 
     roles.erase(role);
     roleSorter->remove(role);