summaryrefslogtreecommitdiff
path: root/libs/ardour/ladspa_plugin.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-03-18 21:19:05 +0100
committerRobin Gareus <robin@gareus.org>2016-03-18 21:33:13 +0100
commit851f6d4f793ad30e379f941732d7898cec459a98 (patch)
tree273567e16b28a0155eadde965d0a90cbf39bf555 /libs/ardour/ladspa_plugin.cc
parent222c099300424e5062f0dcbb6c17cfecb8adc841 (diff)
fix possible overflow (printing float)
Diffstat (limited to 'libs/ardour/ladspa_plugin.cc')
-rw-r--r--libs/ardour/ladspa_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc
index f30925ac51..40d8b68951 100644
--- a/libs/ardour/ladspa_plugin.cc
+++ b/libs/ardour/ladspa_plugin.cc
@@ -350,7 +350,7 @@ void
LadspaPlugin::add_state (XMLNode* root) const
{
XMLNode *child;
- char buf[16];
+ char buf[32];
LocaleGuard lg (X_("C"));
for (uint32_t i = 0; i < parameter_count(); ++i){