diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-04-29 07:48:36 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-04-29 07:48:36 +0000 |
| commit | 6c8178e05e641d8d15c10a94fab64cf7d4011a63 (patch) | |
| tree | 488150b639ff139bbd5bab6b3f2d1b2e9dc0e5a7 /src/extension/internal/odf.cpp | |
| parent | add missing unref, which should hopefully address the document leak (diff) | |
| download | inkscape-6c8178e05e641d8d15c10a94fab64cf7d4011a63.tar.gz inkscape-6c8178e05e641d8d15c10a94fab64cf7d4011a63.zip | |
remove warnings
(bzr r616)
Diffstat (limited to 'src/extension/internal/odf.cpp')
| -rw-r--r-- | src/extension/internal/odf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/internal/odf.cpp b/src/extension/internal/odf.cpp index 1487293bb..27804397d 100644 --- a/src/extension/internal/odf.cpp +++ b/src/extension/internal/odf.cpp @@ -1019,7 +1019,7 @@ OdfOutput::preprocess(ZipFile &zf, Inkscape::XML::Node *node) { char buf[64]; snprintf(buf, 63, "Pictures/image%d%s", - imageTable.size(), ext.c_str()); + (int)imageTable.size(), ext.c_str()); std::string newName = buf; imageTable[oldName] = newName; std::string comment = "old name was: "; @@ -1117,7 +1117,7 @@ OdfOutput::preprocess(ZipFile &zf, Inkscape::XML::Node *node) if (!gradientMatch) { char buf[16]; - snprintf(buf, 15, "gradient%d", gradientTable.size()); + snprintf(buf, 15, "gradient%d", (int)gradientTable.size()); std::string gradientName = buf; gi.name = gradientName; gradientTable.push_back(gi); @@ -1166,7 +1166,7 @@ OdfOutput::preprocess(ZipFile &zf, Inkscape::XML::Node *node) if (!styleMatch) { char buf[16]; - snprintf(buf, 15, "style%d", styleTable.size()); + snprintf(buf, 15, "style%d", (int)styleTable.size()); std::string styleName = buf; si.name = styleName; styleTable.push_back(si); |
