aboutsummaryrefslogtreecommitdiff
path: root/test/100_gendata_cocsep
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-28 17:47:49 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-28 17:47:49 +0200
commit3429b552bc4367136f015c182f723ee977bb55a3 (patch)
tree06e3aa276bccdbc5fa57f4679438d95a7808f1e1 /test/100_gendata_cocsep
parent954a9f9100e8f30e0303a3815c4104526aceb4a0 (diff)
downloadnissy-core-3429b552bc4367136f015c182f723ee977bb55a3.tar.gz
nissy-core-3429b552bc4367136f015c182f723ee977bb55a3.zip
Solved alignment UB issue
Diffstat (limited to 'test/100_gendata_cocsep')
-rw-r--r--test/100_gendata_cocsep/gendata_cocsep_tests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c
index 7630a71..62f52fb 100644
--- a/test/100_gendata_cocsep/gendata_cocsep_tests.c
+++ b/test/100_gendata_cocsep/gendata_cocsep_tests.c
@@ -6,19 +6,19 @@
6#define COCSEP_CLASSES 3393 6#define COCSEP_CLASSES 3393
7 7
8typedef struct { 8typedef struct {
9 char solver[INFO_SOLVER_STRLEN]; 9 uint64_t distribution[INFO_DISTRIBUTION_LEN];
10 uint64_t type; 10 uint64_t type;
11 uint64_t infosize; 11 uint64_t infosize;
12 uint64_t fullsize; 12 uint64_t fullsize;
13 uint64_t hash; 13 uint64_t hash;
14 uint64_t entries; 14 uint64_t entries;
15 uint64_t classes; /* Used only by cocsepdata, for now */ 15 uint64_t classes; /* Used only by cocsepdata, for now */
16 uint64_t next;
17 char solver[INFO_SOLVER_STRLEN];
16 uint8_t h48h; 18 uint8_t h48h;
17 uint8_t bits; 19 uint8_t bits;
18 uint8_t base; 20 uint8_t base;
19 uint8_t maxvalue; 21 uint8_t maxvalue;
20 uint64_t next;
21 uint64_t distribution[INFO_DISTRIBUTION_LEN];
22} tableinfo_t; 22} tableinfo_t;
23 23
24size_t gendata_cocsep(void *, uint64_t *, cube_t *); 24size_t gendata_cocsep(void *, uint64_t *, cube_t *);

Generated with cgit - Back to sebastiano.tronto.net