From: Michael Schroeder Date: Tue, 8 Sep 2020 13:03:41 +0000 (+0200) Subject: Fix deduceq2addedmap clearing bits outside of the added map X-Git-Tag: 0.7.15~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2fd0822b180188dba6ad1e042eab890f1b0414f;p=thirdparty%2Flibsolv.git Fix deduceq2addedmap clearing bits outside of the added map --- diff --git a/src/solver.c b/src/solver.c index 7fcc3fb5..25f48f1a 100644 --- a/src/solver.c +++ b/src/solver.c @@ -3280,7 +3280,7 @@ deduceq2addedmap(Solver *solv, Map *addedmap) if (p > 0) MAPSET(addedmap, p); else - MAPCLR(addedmap, p); + MAPCLR(addedmap, -p); } }