Replace non-portable printf format specifier
This caused Diskstream state to be restored incorrectly
This commit is contained in:
parent
f74521b0cd
commit
4a1b43b9d5
@ -1789,7 +1789,7 @@ AudioDiskstream::get_state ()
|
||||
LocaleGuard lg (X_("POSIX"));
|
||||
|
||||
boost::shared_ptr<ChannelList> c = channels.reader();
|
||||
snprintf (buf, sizeof(buf), "%zd", c->size());
|
||||
snprintf (buf, sizeof(buf), "%d", c->size());
|
||||
node.add_property ("channels", buf);
|
||||
|
||||
if (!capturing_sources.empty() && _session.get_record_enabled()) {
|
||||
|
Loading…
Reference in New Issue
Block a user