ztest: fix compliance issue

Check compliance flagged an UNNESSARY_INT error.

Signed-off-by: Keith Short <keithshort@google.com>
This commit is contained in:
Keith Short 2024-08-02 16:49:29 -06:00 committed by Anas Nashif
commit d8bc125469

View file

@ -76,7 +76,7 @@ int snprintk(char *str, size_t size, const char *fmt, ...)
* FIXME: move to sys_io.h once the argument signature for bitmap has
* been fixed to void* or similar GH-2825
*/
#define BITS_PER_UL (8 * sizeof(unsigned long int))
#define BITS_PER_UL (8 * sizeof(unsigned long))
#define DEFINE_BITFIELD(name, bits) \
unsigned long(name)[DIV_ROUND_UP(bits, BITS_PER_UL)]