aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata_h48/gendata_h48.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gendata_h48/gendata_h48.c b/tools/gendata_h48/gendata_h48.c
index c8a6d12..3f314aa 100644
--- a/tools/gendata_h48/gendata_h48.c
+++ b/tools/gendata_h48/gendata_h48.c
@@ -23,7 +23,7 @@ void run(void) {
23 } else { 23 } else {
24 printf("Succesfully generated %" PRId64 " bytes. Table:\n", s); 24 printf("Succesfully generated %" PRId64 " bytes. Table:\n", s);
25 h48info = (uint32_t *)buf + (ETABLESIZE(HVALUE) + COCSEPSIZE) / 4; 25 h48info = (uint32_t *)buf + (ETABLESIZE(HVALUE) + COCSEPSIZE) / 4;
26 for (i = 0; i < MAXDEPTH+1; i++) 26 for (i = 0; i < MAXDEPTH+1 && h48info[i+1]; i++)
27 printf("%d:\t%" PRIu32 "\n", i, h48info[i+1]); 27 printf("%d:\t%" PRIu32 "\n", i, h48info[i+1]);
28 } 28 }
29} 29}

Generated with cgit - Back to sebastiano.tronto.net