From 510a7471348788fccba6b7c4b9f7b7cc9aee6ba9 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 21 Apr 2025 14:33:01 +0200 Subject: Always use unsigned char * for data buffers Before this commit I was inconsistently using one of void *, char * and uint8_t *. --- tools/expected_distributions.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tools/expected_distributions.h') diff --git a/tools/expected_distributions.h b/tools/expected_distributions.h index 7f33335..12faf1d 100644 --- a/tools/expected_distributions.h +++ b/tools/expected_distributions.h @@ -197,7 +197,7 @@ check_table(uint64_t *exp, tableinfo_t *info) } static bool -check_cocsep(size_t data_size, const void *data) +check_cocsep(size_t data_size, const unsigned char *data) { tableinfo_t info; @@ -219,7 +219,11 @@ unknown_h48(uint8_t h, uint8_t k) } STATIC bool -check_distribution(const char *solver, size_t data_size, const void *data) +check_distribution( + const char *solver, + size_t data_size, + const unsigned char *data +) { const char *str; tableinfo_t info = {0}; -- cgit v1.3