summaryrefslogtreecommitdiff
path: root/lib/bitops_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitops_test.c')
-rw-r--r--lib/bitops_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bitops_test.c b/lib/bitops_test.c
index bd02fccc..f816b9d1 100644
--- a/lib/bitops_test.c
+++ b/lib/bitops_test.c
@@ -28,7 +28,7 @@ t_mkmask(void)
bt_assert_msg(compute == expect, "u32_mkmask(%d) = 0x%08X, expected 0x%08X", i, compute, expect);
}
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -78,7 +78,7 @@ t_masklen(void)
for (i = 0; i <= MAX_NUM; i++)
check_mask(bt_random());
- return BT_SUCCESS;
+ return 1;
}
static void
@@ -107,7 +107,7 @@ t_log2(void)
for (i = 1; i < MAX_NUM; i++)
check_log2(((u32) bt_random()) % 0x0fffffff);
- return BT_SUCCESS;
+ return 1;
}
int