projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d4fc96
)
fix a -Wformat
author
Robin Gareus
<robin@gareus.org>
Fri, 20 Jan 2017 16:36:09 +0000
(17:36 +0100)
committer
Robin Gareus
<robin@gareus.org>
Fri, 20 Jan 2017 16:36:09 +0000
(17:36 +0100)
libs/ardour/vst_plugin.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/vst_plugin.cc
b/libs/ardour/vst_plugin.cc
index 9ebc80fd83b7e364e081f397c88ed48ae658b75e..2b3a98d3c85c8292ab7addcb5a6c0807356a5bf2 100644
(file)
--- a/
libs/ardour/vst_plugin.cc
+++ b/
libs/ardour/vst_plugin.cc
@@
-472,7
+472,7
@@
VSTPlugin::do_save_preset (string name)
XMLNode* p = 0;
char tmp[32];
- snprintf (tmp, 31, "%d", _presets.size() + 1);
+ snprintf (tmp, 31, "%
l
d", _presets.size() + 1);
tmp[31] = 0;
char hash[41];