diff options
author | Robin Gareus <robin@gareus.org> | 2015-07-30 17:00:03 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-07-30 17:00:03 +0200 |
commit | ca0c9b3636fecb5fc2106b1eae33ce3eb5c53c79 (patch) | |
tree | 5681e9e94d1a742258055ce50844f2fe5cb8b880 /libs/canvas | |
parent | 67c75c5a3390d689d716012e9cdf9405bdad988c (diff) |
Replace "%z" modifier with glib macro for portability.
Diffstat (limited to 'libs/canvas')
-rw-r--r-- | libs/canvas/stateful_image.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/canvas/stateful_image.cc b/libs/canvas/stateful_image.cc index b62da9cc8c..f5cc76dd03 100644 --- 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; |