diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-27 09:11:00 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-27 09:11:00 +0200 |
| commit | 388b55b4ea644aa1b6074a70652b8f62e7755280 (patch) | |
| tree | e0be13d902e31ccecdaf4de0aa052ec9810c2552 /tools/tool.h | |
| parent | cee9856b2cb151f705acf6d27454ec08ef2b9a4e (diff) | |
| download | nissy-core-388b55b4ea644aa1b6074a70652b8f62e7755280.tar.gz nissy-core-388b55b4ea644aa1b6074a70652b8f62e7755280.zip | |
Use constant instead of magic number
Diffstat (limited to '')
| -rw-r--r-- | tools/tool.h | 2 |
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 */ |
