diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-10 22:48:30 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-10 22:58:21 +0200 |
| commit | 4b5ab5d1808949661b4b449af914f3659596ef73 (patch) | |
| tree | bf583393c9262c96bc244466e042725c7b0745bf /test | |
| parent | 70d3a3de3a2fdef7e47b2bd510261d69390a3a9c (diff) | |
| download | nissy-core-4b5ab5d1808949661b4b449af914f3659596ef73.tar.gz nissy-core-4b5ab5d1808949661b4b449af914f3659596ef73.zip | |
8 bit tables
Diffstat (limited to 'test')
| -rw-r--r-- | test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c b/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c index bc3488c..72a34f6 100644 --- a/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c +++ b/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c | |||
| @@ -50,11 +50,7 @@ void run(void) { | |||
| 50 | arg.k = 4; | 50 | arg.k = 4; |
| 51 | 51 | ||
| 52 | sz = gendata_h48(&arg); /* With buf = NULL returns data size */ | 52 | sz = gendata_h48(&arg); /* With buf = NULL returns data size */ |
| 53 | arg.buf = malloc(sz+23); | 53 | arg.buf = malloc(sz); |
| 54 | /* | ||
| 55 | TODO: the +23 is a workaround for a bug that I don't understand and seems | ||
| 56 | to happen only with gcc. Hopefully this gets fixed when switching to 8-bit. | ||
| 57 | */ | ||
| 58 | 54 | ||
| 59 | result = gendata_h48(&arg); | 55 | result = gendata_h48(&arg); |
| 60 | 56 | ||
