From 5dd70393015421dd92b3abc0aca4a2034dfda06a Mon Sep 17 00:00:00 2001 From: Lukas Berk Date: Fri, 29 Nov 2013 20:36:11 -0500 Subject: [PATCH] Fix build error signed/unsigned comparison *buildrun.cxx - change const int severely_limited to const unsigned int --- buildrun.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildrun.cxx b/buildrun.cxx index f7a0d09bd..3c26d5081 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -65,7 +65,7 @@ run_make_cmd(systemtap_session& s, vector& make_cmd, // PR16276: but only if we're not running severely nproc-rlimited struct rlimit rlim; int rlimit_rc = getrlimit(RLIMIT_NPROC, &rlim); - const int severely_limited = smp*30; // WAG at number of gcc+make etc. nested processes + const unsigned int severely_limited = smp*30; // WAG at number of gcc+make etc. nested processes bool nproc_limited = (rlimit_rc == 0 && (rlim.rlim_max <= severely_limited || rlim.rlim_cur <= severely_limited)); if (smp >= 1 && !nproc_limited) -- 2.43.5