Skip to content

Commit d8bc125

Browse files
keith-zephyrnashif
authored andcommitted
ztest: fix compliance issue
Check compliance flagged an UNNESSARY_INT error. Signed-off-by: Keith Short <[email protected]>
1 parent b75c591 commit d8bc125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/testsuite/ztest/src/ztest_mock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ int snprintk(char *str, size_t size, const char *fmt, ...)
7676
* FIXME: move to sys_io.h once the argument signature for bitmap has
7777
* been fixed to void* or similar GH-2825
7878
*/
79-
#define BITS_PER_UL (8 * sizeof(unsigned long int))
79+
#define BITS_PER_UL (8 * sizeof(unsigned long))
8080
#define DEFINE_BITFIELD(name, bits) \
8181
unsigned long(name)[DIV_ROUND_UP(bits, BITS_PER_UL)]
8282

0 commit comments

Comments
 (0)