13
0

fix a -Wformat

This commit is contained in:
Robin Gareus 2017-01-20 17:36:09 +01:00
parent 6d4fc96f0b
commit 99d284930d

View File

@ -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, "%ld", _presets.size() + 1);
tmp[31] = 0;
char hash[41];