summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9474a97)
raw | patch | inline | side by side (parent: 9474a97)
author | ishmal <ishmal@users.sourceforge.net> | |
Sat, 29 Apr 2006 07:48:36 +0000 (07:48 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sat, 29 Apr 2006 07:48:36 +0000 (07:48 +0000) |
src/extension/internal/odf.cpp | patch | blob | history |
index 1487293bbcf9d18faeddc5ddf0db1021be9c26bf..27804397df2624eb1e42696c03982fec66efe52a 100644 (file)
{
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: ";
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);
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);