]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Fix deduceq2addedmap clearing bits outside of the added map
authorMichael Schroeder <mls@suse.de>
Tue, 8 Sep 2020 13:03:41 +0000 (15:03 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 20 May 2021 09:59:43 +0000 (11:59 +0200)
src/solver.c

index 6a1c30ff7de51fd07c8ac4d8c901c2b8ffe6932a..3a965f35c6c958a4b01cfad349fbb6c09ddb566c 100644 (file)
@@ -3205,7 +3205,7 @@ deduceq2addedmap(Solver *solv, Map *addedmap)
       if (p > 0)
        MAPSET(addedmap, p);
       else
-       MAPCLR(addedmap, p);
+       MAPCLR(addedmap, -p);
     }
 }