summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-07-24 21:17:58 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-07-24 21:26:48 +0400
commit10f08195b8195640016a6eab42818c662f4541d2 (patch)
tree568f47dc6ca59af604d44ee2b43571ce52f330fe /hwpfilter
parent3d46635bf1e1606e555f64c4b497056d2bc32d36 (diff)
-Werror=format
Change-Id: If468ca444865f81a7adeabb72ecb6d8647f6dde0
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 d14ef997a991..ce894ab64eb0 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -1893,7 +1893,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);