From 46a36bf0bb2e46f6aee28f629e950fb923c2884f Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Wed, 21 Jul 2021 23:46:49 +0200 Subject: [PATCH] dmm/bm52x: silence overzealous compiler warning Although the number of recordings in the BM52x DMM remains small, recent compilers keep complaining about potential truncation. Use a larger buffer to silence the warning message. No change in behaviour. --- src/dmm/bm52x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dmm/bm52x.c b/src/dmm/bm52x.c index b91cb4e4..89c393a9 100644 --- a/src/dmm/bm52x.c +++ b/src/dmm/bm52x.c @@ -1428,7 +1428,7 @@ SR_PRIV int brymen_bm52x_config_list(void *st, uint32_t key, GVariant **data, int ret; size_t count, idx; GVariantBuilder gvb; - char name[20]; + char name[32]; /* * Have common keys handled by caller's common code. -- 2.30.2