Log: Use char for type of string buffers
Buffers meant to hold strings for printing should be
of type char [].
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: I2e376388cb7101ca852a1af5f46d7c2424ad72d1
diff --git a/lib/log/tfm_log_raw.c b/lib/log/tfm_log_raw.c
index 86cf1c3..61f75ca 100644
--- a/lib/log/tfm_log_raw.c
+++ b/lib/log/tfm_log_raw.c
@@ -15,7 +15,7 @@
struct formatted_buffer_t {
size_t pos;
- uint8_t buf[PRINT_BUFF_SIZE];
+ char buf[PRINT_BUFF_SIZE];
};
const char hex_digits_lo[] = {'0', '1', '2', '3', '4', '5', '6', '7',