aboutsummaryrefslogtreecommitdiff
path: root/test/032_invertmoves
diff options
context:
space:
mode:
Diffstat (limited to 'test/032_invertmoves')
-rw-r--r--test/032_invertmoves/invertmoves_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/032_invertmoves/invertmoves_tests.c b/test/032_invertmoves/invertmoves_tests.c
index acb2adc..d5da323 100644
--- a/test/032_invertmoves/invertmoves_tests.c
+++ b/test/032_invertmoves/invertmoves_tests.c
@@ -3,7 +3,7 @@
3#define MAXMOVES 20 3#define MAXMOVES 20
4 4
5int64_t readmoves(const char *, int, uint8_t *); 5int64_t readmoves(const char *, int, uint8_t *);
6void writemoves(uint8_t *, int, char *); 6void writemoves(uint8_t *, int, uint64_t, char *);
7void invertmoves(uint8_t *, uint8_t, uint8_t *); 7void invertmoves(uint8_t *, uint8_t, uint8_t *);
8 8
9void run(void) { 9void run(void) {
@@ -15,7 +15,7 @@ void run(void) {
15 c = readmoves(movestr, MAXMOVES, moves); 15 c = readmoves(movestr, MAXMOVES, moves);
16 16
17 invertmoves(moves, c, ret); 17 invertmoves(moves, c, ret);
18 writemoves(ret, c, outstr); 18 writemoves(ret, c, STRLENMAX, outstr);
19 19
20 printf("%s\n", outstr); 20 printf("%s\n", outstr);
21} 21}

Generated with cgit - Back to sebastiano.tronto.net