projects
/
libsigrok.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df98afc
)
dmm/bm52x: silence overzealous compiler warning
author
Gerhard Sittig
<gerhard.sittig@gmx.net>
Wed, 21 Jul 2021 21:46:49 +0000
(23:46 +0200)
committer
Gerhard Sittig
<gerhard.sittig@gmx.net>
Wed, 4 Aug 2021 20:10:51 +0000
(22:10 +0200)
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
patch
|
blob
|
history
diff --git
a/src/dmm/bm52x.c
b/src/dmm/bm52x.c
index b91cb4e4d5a52e7fa523361398a8d7de50330235..89c393a92348634423502cb858c50e6ce35612a5 100644
(file)
--- 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.