diff options
author | Henrik Rydberg <rydberg@bitmath.se> | 2021-12-07 21:13:36 +0100 |
---|---|---|
committer | Henrik Rydberg <rydberg@bitmath.se> | 2021-12-07 21:13:54 +0100 |
commit | 2ed588eccf83728452ce0fc30770e637a7c1374f (patch) | |
tree | c713aaef27db57422f2a2d38b2abfe10072ef284 /test/mtdev-matching.c | |
parent | 25d541d2b0b526eba58fee99ceac202acca6d4a2 (diff) | |
download | mtdev-git-master.tar.gz |
The unit tests were using stack-allocated memory smaller than
the maximum matrix size, causing compiler warnings. Fixed with
this patch.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.se>
Diffstat (limited to 'test/mtdev-matching.c')
-rw-r--r-- | test/mtdev-matching.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mtdev-matching.c b/test/mtdev-matching.c index 0f3f6ea..9dff0f3 100644 --- a/test/mtdev-matching.c +++ b/test/mtdev-matching.c @@ -36,7 +36,7 @@ static const int n2 = 4; static void test1() { - int A[] = { + int A[DIM2_FINGER] = { 1013, 3030660, 3559354, @@ -62,7 +62,7 @@ static void test1() static void test2() { - int A[] = { + int A[DIM2_FINGER] = { 0, 4534330, 22653552, |