[Libreoffice-commits] .: hwpfilter/source
Ivan Timofeev
ivantimofeev at kemper.freedesktop.org
Tue Jul 24 10:27:12 PDT 2012
hwpfilter/source/hwpreader.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 10f08195b8195640016a6eab42818c662f4541d2
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Tue Jul 24 21:17:58 2012 +0400
-Werror=format
Change-Id: If468ca444865f81a7adeabb72ecb6d8647f6dde0
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index d14ef99..ce894ab 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);
More information about the Libreoffice-commits
mailing list