diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-12 11:11:28 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-12 11:11:28 +0200 |
| commit | da8fdd4955fd24666643915a6728678e9965a0d3 (patch) | |
| tree | 878d7baf68f90e80949bc79a039bda159865821f /test/081_getcube/getcube_tests.c | |
| parent | 14689e29252e608d51c5b52e61e43471d2aa021e (diff) | |
| download | nissy-core-da8fdd4955fd24666643915a6728678e9965a0d3.tar.gz nissy-core-da8fdd4955fd24666643915a6728678e9965a0d3.zip | |
Make writecube safer
Diffstat (limited to 'test/081_getcube/getcube_tests.c')
| -rw-r--r-- | test/081_getcube/getcube_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/081_getcube/getcube_tests.c b/test/081_getcube/getcube_tests.c index 7eb59dc..46c324b 100644 --- a/test/081_getcube/getcube_tests.c +++ b/test/081_getcube/getcube_tests.c | |||
| @@ -23,7 +23,7 @@ void run(void) { | |||
| 23 | } else if (!isconsistent(cube)) { | 23 | } else if (!isconsistent(cube)) { |
| 24 | printf("Inconsistent cube\n"); | 24 | printf("Inconsistent cube\n"); |
| 25 | } else { | 25 | } else { |
| 26 | writecube("H48", cube, str); | 26 | writecube("H48", cube, NISSY_SIZE_H48, str); |
| 27 | printf("%s\n", str); | 27 | printf("%s\n", str); |
| 28 | } | 28 | } |
| 29 | } | 29 | } |
