aboutsummaryrefslogtreecommitdiff
path: root/test/102_cocsep_selfsim
diff options
context:
space:
mode:
Diffstat (limited to 'test/102_cocsep_selfsim')
-rw-r--r--test/102_cocsep_selfsim/cocsep_selfsim_tests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/102_cocsep_selfsim/cocsep_selfsim_tests.c b/test/102_cocsep_selfsim/cocsep_selfsim_tests.c
index dd778aa..0ead3b4 100644
--- a/test/102_cocsep_selfsim/cocsep_selfsim_tests.c
+++ b/test/102_cocsep_selfsim/cocsep_selfsim_tests.c
@@ -7,19 +7,19 @@
7 */ 7 */
8#include "../test.h" 8#include "../test.h"
9 9
10size_t gendata_cocsep(void *, uint64_t *, cube_t *); 10size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *);
11int64_t coord_cocsep(cube_t); 11int64_t coord_cocsep(cube_t);
12 12
13void run(void) { 13void run(void) {
14 char str[STRLENMAX]; 14 char str[STRLENMAX];
15 char buf[2000000]; 15 unsigned char buf[2000000];
16 uint32_t *cocsepdata, data; 16 uint32_t *cocsepdata, data;
17 int64_t coord, coclass; 17 int64_t coord, coclass;
18 uint64_t selfsim[COCSEP_CLASSES], sim, t; 18 uint64_t selfsim[COCSEP_CLASSES], sim, t;
19 cube_t cube, rep[COCSEP_CLASSES]; 19 cube_t cube, rep[COCSEP_CLASSES];
20 20
21 gendata_cocsep(buf, selfsim, rep); 21 gendata_cocsep(buf, selfsim, rep);
22 cocsepdata = (uint32_t *)((char *)buf + INFOSIZE); 22 cocsepdata = (uint32_t *)(buf + INFOSIZE);
23 23
24 /* All cases in the same test so we do not generate data many times */ 24 /* All cases in the same test so we do not generate data many times */
25 25

Generated with cgit - Back to sebastiano.tronto.net