aboutsummaryrefslogtreecommitdiff
path: root/test/110_coord_invcoord_h48
diff options
context:
space:
mode:
Diffstat (limited to 'test/110_coord_invcoord_h48')
-rw-r--r--test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c b/test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c
index 025ff2b..fdc4619 100644
--- a/test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c
+++ b/test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c
@@ -1,6 +1,6 @@
1#include "../test.h" 1#include "../test.h"
2 2
3size_t gendata_cocsep(void *, uint64_t *, cube_t *); 3size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *);
4int64_t coord_h48(cube_t, const uint32_t *, uint8_t); 4int64_t coord_h48(cube_t, const uint32_t *, uint8_t);
5cube_t invcoord_h48(int64_t, const cube_t *, uint8_t); 5cube_t invcoord_h48(int64_t, const cube_t *, uint8_t);
6cube_t transform(cube_t, uint8_t); 6cube_t transform(cube_t, uint8_t);
@@ -10,14 +10,14 @@ void run(void) {
10 int i; 10 int i;
11 bool found; 11 bool found;
12 uint8_t h, t; 12 uint8_t h, t;
13 char buf[2000000]; 13 unsigned char buf[2000000];
14 uint32_t *cocsepdata; 14 uint32_t *cocsepdata;
15 uint64_t selfsim[COCSEP_CLASSES]; 15 uint64_t selfsim[COCSEP_CLASSES];
16 int64_t c, cc; 16 int64_t c, cc;
17 cube_t cube, invc, rep[COCSEP_CLASSES]; 17 cube_t cube, invc, rep[COCSEP_CLASSES];
18 18
19 gendata_cocsep(buf, selfsim, rep); 19 gendata_cocsep(buf, selfsim, rep);
20 cocsepdata = (uint32_t *)((char *)buf + INFOSIZE); 20 cocsepdata = (uint32_t *)(buf + INFOSIZE);
21 21
22 i = 1; 22 i = 1;
23 h = 11; 23 h = 11;

Generated with cgit - Back to sebastiano.tronto.net