[spp] [PATCH] spp_vf: change char length to avoid compile error
Kenta Shinohara
shinohara.kenta at lab.ntt.co.jp
Mon Apr 16 04:26:18 CEST 2018
Change character length of SPP_CMD_VALUE_BUFSZ to avoid compile error
on gcc-7.
Signed-off-by: Kenta Shinohara <shinohara.kenta at lab.ntt.co.jp>
---
src/vf/command_dec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vf/command_dec.h b/src/vf/command_dec.h
index 9f7bada..f9d2120 100644
--- a/src/vf/command_dec.h
+++ b/src/vf/command_dec.h
@@ -52,7 +52,7 @@
#define SPP_CMD_NAME_BUFSZ 32
/** command value string buffer size (include null char) */
-#define SPP_CMD_VALUE_BUFSZ 128
+#define SPP_CMD_VALUE_BUFSZ 111
/** string that specify unused */
#define SPP_CMD_UNUSE "unuse"
--
2.7.4
More information about the spp
mailing list