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 2014/05/14 23:40:37 UTC

git commit: Fixed a compiler warning from stout flags.

Repository: mesos
Updated Branches:
  refs/heads/master ae629de70 -> 270204125


Fixed a compiler warning from stout flags.

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


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

Branch: refs/heads/master
Commit: 270204125a04326e9cf57e4eafa3a5387909146c
Parents: ae629de
Author: Jie Yu <yu...@gmail.com>
Authored: Wed May 14 14:40:02 2014 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Wed May 14 14:40:02 2014 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/27020412/3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp
index 79f4955..112dcb1 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp
@@ -454,7 +454,7 @@ inline Try<Nothing> FlagsBase::load(
 
   // Update 'argc' and 'argv' if we successfully loaded the flags.
   if (!result.isError()) {
-    CHECK_LE(args.size(), *argc);
+    CHECK_LE(args.size(), (size_t) *argc);
     size_t i = 1; // Start at '1' to skip argv[0].
     foreach (char* arg, args) {
       (*argv)[i++] = arg;