aboutsummaryrefslogtreecommitdiff
path: root/tools/tool.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-27 09:11:00 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-27 09:11:00 +0200
commit388b55b4ea644aa1b6074a70652b8f62e7755280 (patch)
treee0be13d902e31ccecdaf4de0aa052ec9810c2552 /tools/tool.h
parentcee9856b2cb151f705acf6d27454ec08ef2b9a4e (diff)
downloadnissy-core-388b55b4ea644aa1b6074a70652b8f62e7755280.tar.gz
nissy-core-388b55b4ea644aa1b6074a70652b8f62e7755280.zip
Use constant instead of magic number
Diffstat (limited to '')
-rw-r--r--tools/tool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tool.h b/tools/tool.h
index 5eec318..d9071fb 100644
--- a/tools/tool.h
+++ b/tools/tool.h
@@ -130,7 +130,7 @@ derivetable(uint8_t h, char **buf)
130 int64_t size, gensize; 130 int64_t size, gensize;
131 char *fulltable; 131 char *fulltable;
132 132
133 char options[20] = " ;2;20"; /* Fixed for k = 2 for now */ 133 char options[20] = " ;2;20"; /* Only for k = 2 for now */
134 options[0] = (char)(h + '0'); /* h = 10 not supported for now */ 134 options[0] = (char)(h + '0'); /* h = 10 not supported for now */
135 135
136 /* Support only b8 for now */ 136 /* Support only b8 for now */

Generated with cgit - Back to sebastiano.tronto.net