]> git.ipfire.org Git - thirdparty/systemd.git/commit
bitmap: don't do bitwise XOR on booleans
authorLennart Poettering <lennart@poettering.net>
Mon, 21 Dec 2015 18:53:41 +0000 (19:53 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 26 Dec 2015 18:09:10 +0000 (19:09 +0100)
commit7d7fa31c62242e11494ace491a8c98fb070d4e8a
treefd4fd684a4c4985484f2b60b25c62b1f093c6855
parent0b8086379f0a062582c20471d6cd2646a6d22e93
bitmap: don't do bitwise XOR on booleans

It's weird doing bitwise operations on booleans. Let's use the boolean
XOR (i.e. "!=") instead of the bitweise XOR (i.e. "^") on them.
src/basic/bitmap.c