]> 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>
Tue, 8 Sep 2020 13:03:41 +0000 (15:03 +0200)
src/solver.c

index 7fcc3fb50c681f69bcdb2bf42afc70141f51105c..25f48f1aebe693f800e13ff50c6bd51e5a2112d9 100644 (file)
@@ -3280,7 +3280,7 @@ deduceq2addedmap(Solver *solv, Map *addedmap)
       if (p > 0)
        MAPSET(addedmap, p);
       else
-       MAPCLR(addedmap, p);
+       MAPCLR(addedmap, -p);
     }
 }