projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clear waveform cache when shape changes - fixes #6525
[ardour.git]
/
libs
/
canvas
/
stateful_image.cc
diff --git
a/libs/canvas/stateful_image.cc
b/libs/canvas/stateful_image.cc
index b62da9cc8ccfeb0a535a29bfcca677136b30c754..f5cc76dd039694e1bbaf9b1c51b4760ef5ba8dca 100644
(file)
--- a/
libs/canvas/stateful_image.cc
+++ b/
libs/canvas/stateful_image.cc
@@
-101,7
+101,7
@@
StatefulImage::load_states (const XMLNode& node)
error << _("no ID for state") << endmsg;
continue;
}
- sscanf (prop->value().c_str(), "%
zd"
, &id);
+ sscanf (prop->value().c_str(), "%
" G_GSIZE_FORMAT
, &id);
if ((prop = (*i)->property ("image")) == 0) {
error << _("no image for state") << endmsg;