1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-06-25 14:51:26 +08:00
Rodrigo Dias Correa 5fb1bd487d Fix GCC warning about test_snprintf
GCC 11 generated the warnings because the parameter `ret_buf`
was declared as `const char[10]`, but some of the arguments
provided in `run_test_snprintf` are shorter literals, like "".

Now the type of `ret_buf` is `const char *`.
Both implementations of `test_snprintf` were fixed.

Signed-off-by: Rodrigo Dias Correa <rodrigo@correas.us>
2020-11-29 14:42:58 -03:00
..
2019-04-07 16:59:13 +03:00
2020-11-29 14:42:58 -03:00