Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH] spp_vf: change char length to avoid compile error
@ 2018-04-16  2:26 Kenta Shinohara
  2018-04-16  6:07 ` Yasufumi Ogawa
  0 siblings, 1 reply; 3+ messages in thread
From: Kenta Shinohara @ 2018-04-16  2:26 UTC (permalink / raw)
  To: spp; +Cc: Kenta Shinohara

Change character length of SPP_CMD_VALUE_BUFSZ to avoid compile error
on gcc-7.

Signed-off-by: Kenta Shinohara <shinohara.kenta@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-03 15:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16  2:26 [spp] [PATCH] spp_vf: change char length to avoid compile error Kenta Shinohara
2018-04-16  6:07 ` Yasufumi Ogawa
2018-05-03 15:53   ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).