Support larger integer test arguments: C part
Change the type of signed integer arguments from int32_t to intmax_t.
This allows the C code to work with test function arguments with a range
larger than int32_t. A subsequent commit will change the .datax generator
to support larger types.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/tests/include/test/arguments.h b/tests/include/test/arguments.h
index 7ff416e..74bbbd5 100644
--- a/tests/include/test/arguments.h
+++ b/tests/include/test/arguments.h
@@ -32,7 +32,7 @@
typedef union {
size_t len;
- int32_t s32;
+ intmax_t sint;
} mbedtls_test_argument_t;
#endif /* TEST_ARGUMENTS_H */