diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-18 21:19:05 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-18 21:33:13 +0100 |
commit | 851f6d4f793ad30e379f941732d7898cec459a98 (patch) | |
tree | 273567e16b28a0155eadde965d0a90cbf39bf555 /libs | |
parent | 222c099300424e5062f0dcbb6c17cfecb8adc841 (diff) |
fix possible overflow (printing float)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ladspa_plugin.cc | 2 |
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){ |