From 561b7521370fc0f3c97b86aa71005baa9fea08ce Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 6 Oct 2024 08:49:30 +0200 Subject: Fix concurrency issues So I did not have any misconception about Atomics, I just could not apply it where I did because the logic doesn't allow for it. --- src/nissy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nissy.c') diff --git a/src/nissy.c b/src/nissy.c index 561ef53..44efb83 100644 --- a/src/nissy.c +++ b/src/nissy.c @@ -75,7 +75,7 @@ checkdata(const void *buf, const tableinfo_t *info) getdistribution_cocsep( (uint32_t *)((char *)buf + INFOSIZE), distr); } else if (!strncmp(info->solver, "h48", 3)) { - getdistribution_h48((_Atomic uint8_t *)buf + INFOSIZE, distr, + getdistribution_h48((uint8_t *)buf + INFOSIZE, distr, info->h48h, info->bits); } else { LOG("checkdata: unknown solver %s\n", info->solver); -- cgit v1.3