summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-07-24 21:17:58 +0400
committerMichael Stahl <mstahl@redhat.com>2012-07-24 20:22:24 +0200
commit330769828fdf933eb1fb6b504ebbeb5cbe0e0eba (patch)
tree38c9d407ad2fcc7d0d3a66537670f682be73a5ad /hwpfilter
parente3f087d9ed753be702503220e1f97a3514d74d62 (diff)
-Werror=format
Change-Id: If468ca444865f81a7adeabb72ecb6d8647f6dde0 (cherry picked from commit 10f08195b8195640016a6eab42818c662f4541d2) Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hwpreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 412a96662451..c726fb6fd16d 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -1903,7 +1903,7 @@ void HwpReader::makeTableStyle(Table *tbl)
// --------------- row ---------------- //
for (size_t i = 0 ; i < tbl->rows.nCount -1 ; i++)
{
- sprintf(buf,"Table%d.row%ld",hbox->style.boxnum, i + 1);
+ sprintf(buf,"Table%d.row%" SAL_PRI_SIZET "u",hbox->style.boxnum, i + 1);
padd(ascii("style:name"), sXML_CDATA, ascii( buf ));
padd(ascii("style:family"), sXML_CDATA,ascii("table-row"));
rstartEl(ascii("style:style"), rList);