1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-06-28 18:12:46 +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
..
2020-11-29 14:42:58 -03:00
2015-11-02 06:34:29 +09:00