From 8dfe65e6f467e754b18644750c8a62904ac62532 Mon Sep 17 00:00:00 2001 From: fengzero Date: Fri, 10 Nov 2023 10:44:10 +0000 Subject: [PATCH] chore(log): type con --- include/neuron/utils/log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/neuron/utils/log.h b/include/neuron/utils/log.h index 6f7698b2..3969138e 100644 --- a/include/neuron/utils/log.h +++ b/include/neuron/utils/log.h @@ -102,10 +102,10 @@ inline static void zlog_protocol(zlog_category_t *log, uint8_t *bytes, } #define zlog_send_protocol(log, bytes, n_byte) \ - zlog_protocol(log, bytes, n_byte, NEU_PROTOCOL_SEND) + zlog_protocol(log, (uint8_t *) bytes, n_byte, NEU_PROTOCOL_SEND) #define zlog_recv_protocol(log, bytes, n_byte) \ - zlog_protocol(log, bytes, n_byte, NEU_PROTOCOL_RECV) + zlog_protocol(log, (uint8_t *) bytes, n_byte, NEU_PROTOCOL_RECV) #define plog_recv_protocol(plugin, bytes, n_byte) \ zlog_recv_protocol((plugin)->common.log, bytes, n_byte)