From 270b38ca34a05688a6813aa25217901b99e7bd47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E6=A9=99=E5=AD=90=E7=96=AF?= Date: Sat, 3 Feb 2024 15:32:49 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E5=86=85=E5=AD=98=E5=8D=A0=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 大橙子疯 --- cot_param.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cot_param.c b/cot_param.c index ae7e8ec..6f2ff86 100644 --- a/cot_param.c +++ b/cot_param.c @@ -33,7 +33,7 @@ typedef union int64_t s64val; double fVal; #if COT_PARAM_USE_STRING_TYPE - char str[COT_PARAM_STRING_MAX_LENGTH + 2]; + char str[COT_PARAM_STRING_MAX_LENGTH]; #endif } Value_u;