Repository: mesos Updated Branches: refs/heads/master d762358c7 -> 451102c6c
Fixed comparison between signed and unsigned. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/451102c6 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/451102c6 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/451102c6 Branch: refs/heads/master Commit: 451102c6c8ea9f46a582f7e111935291e8e0dfea Parents: d762358 Author: Benjamin Hindman <[email protected]> Authored: Thu Mar 6 17:27:36 2014 -0800 Committer: Benjamin Hindman <[email protected]> Committed: Thu Mar 6 17:30:04 2014 -0800 ---------------------------------------------------------------------- 3rdparty/libprocess/3rdparty/stout/include/stout/os/osx.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/451102c6/3rdparty/libprocess/3rdparty/stout/include/stout/os/osx.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/os/osx.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/os/osx.hpp index 8c3ead0..7d17249 100644 --- a/3rdparty/libprocess/3rdparty/stout/include/stout/os/osx.hpp +++ b/3rdparty/libprocess/3rdparty/stout/include/stout/os/osx.hpp @@ -109,7 +109,7 @@ inline Result<Process> process(pid_t pid) // which is greater than 'tokens.size()' which caused us // to get an invalid iterator from 'tokens.begin() + // argc', thus we now check that condition here. - if (argc <= tokens.size()) { + if (static_cast<size_t>(argc) <= tokens.size()) { tokens.erase(tokens.begin() + argc, tokens.end()); }
