summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/odf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/internal/odf.cpp b/src/extension/internal/odf.cpp
index 4efebdafd..14a1981d5 100644
--- a/src/extension/internal/odf.cpp
+++ b/src/extension/internal/odf.cpp
@@ -1095,7 +1095,7 @@ OdfOutput::preprocess(ZipFile &zf, Inkscape::XML::Node *node)
{
char buf[64];
snprintf(buf, sizeof(buf), "Pictures/image%u%s",
- imageTable.size(), ext.c_str());
+ static_cast<unsigned int>(imageTable.size()), ext.c_str());
Glib::ustring newName = buf;
imageTable[oldName] = newName;
Glib::ustring comment = "old name was: ";