summaryrefslogtreecommitdiff
path: root/test_bits.c
diff options
context:
space:
mode:
Diffstat (limited to 'test_bits.c')
-rw-r--r--test_bits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_bits.c b/test_bits.c
index b37a4d6c..6d7d4119 100644
--- a/test_bits.c
+++ b/test_bits.c
@@ -207,7 +207,7 @@ int main(int argc, char *argv[])
up <
unsigned_tests + sizeof(unsigned_tests) / sizeof(unsigned_tests[0]);
up++) {
- uint64_t res = ubits((char *)buf, up->start, up->width, up->le);
+ uint64_t res = ubits((unsigned char *)buf, up->start, up->width, up->le);
bool success = (res == up->expected);
if (!success)
failures = true;