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 *. --- src/solvers/h48/gendata_cocsep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/solvers/h48/gendata_cocsep.h') diff --git a/src/solvers/h48/gendata_cocsep.h b/src/solvers/h48/gendata_cocsep.h index f07b71a..2eac383 100644 --- a/src/solvers/h48/gendata_cocsep.h +++ b/src/solvers/h48/gendata_cocsep.h @@ -1,4 +1,4 @@ -STATIC size_t gendata_cocsep(char *, uint64_t *, cube_t *); +STATIC size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); STATIC uint32_t gendata_cocsep_dfs(cocsep_dfs_arg_t [static 1]); STATIC void getdistribution_cocsep( const uint32_t [static COCSEP_TABLESIZE], uint64_t [static 21]); @@ -13,7 +13,7 @@ STATIC_INLINE int8_t get_h48_cdata( STATIC size_t gendata_cocsep( - char *buf, + unsigned char *buf, uint64_t *selfsim, cube_t *rep ) -- cgit v1.3