aboutsummaryrefslogtreecommitdiff
path: root/tools/001_gendata_h48h0k4
diff options
context:
space:
mode:
Diffstat (limited to 'tools/001_gendata_h48h0k4')
-rw-r--r--tools/001_gendata_h48h0k4/gendata_h48h0k4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/001_gendata_h48h0k4/gendata_h48h0k4.c b/tools/001_gendata_h48h0k4/gendata_h48h0k4.c
index 0926a34..a2c57ca 100644
--- a/tools/001_gendata_h48h0k4/gendata_h48h0k4.c
+++ b/tools/001_gendata_h48h0k4/gendata_h48h0k4.c
@@ -37,12 +37,12 @@ void run(void) {
37 printf("Error generating table\n"); 37 printf("Error generating table\n");
38 } else { 38 } else {
39 printf("Succesfully generated %" PRId64 " bytes. Table:\n", s); 39 printf("Succesfully generated %" PRId64 " bytes. Table:\n", s);
40 h48info = (uint32_t *)buf + (ETABLESIZE(HVALUE) + COCSEPSIZE) / 4; 40 h48info = (uint32_t *)buf + 1 + (ETABLESIZE(HVALUE) + COCSEPSIZE) / 4;
41 for (i = 0; i < MAXDEPTH+1 && h48info[i+1]; i++) { 41 for (i = 0; i < MAXDEPTH+1 && h48info[i+1]; i++) {
42 x = h48info[i+1]; 42 x = h48info[i+1];
43 printf("%d:\t%" PRIu32, i, x); 43 printf("%d:\t%" PRIu32, i, x);
44 if (x != expected[i]) 44 if (x != expected[i])
45 printf(" <--- Error! Expected: %" PRIu32 "\n", 45 printf(" <--- Error! Expected: %" PRIu32,
46 expected[i]); 46 expected[i]);
47 printf("\n"); 47 printf("\n");
48 } 48 }

Generated with cgit - Back to sebastiano.tronto.net