Commit a8b29deb authored by Vladimír Čunát's avatar Vladimír Čunát

kr_bitcmp: shut up a warning

parent 1da642fa
......@@ -376,7 +376,7 @@ int kr_bitcmp(const char *a, const char *b, int bits)
return 1;
}
assert(a && b && bits >= 0 || bits == 0);
assert((a && b && bits >= 0) || bits == 0);
/* Compare part byte-divisible part. */
const size_t chunk = bits / 8;
int ret = memcmp(a, b, chunk);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment