mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
This commit is contained in:
@@ -58,7 +58,7 @@ dns_nsec_isset(const unsigned char *array, unsigned int type) {
|
||||
shift = 7 - (type % 8);
|
||||
mask = 1 << shift;
|
||||
|
||||
return (byte & mask);
|
||||
return ((byte & mask) != 0);
|
||||
}
|
||||
|
||||
unsigned int
|
||||
|
Reference in New Issue
Block a user