From 10f08195b8195640016a6eab42818c662f4541d2 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Tue, 24 Jul 2012 21:17:58 +0400 Subject: -Werror=format Change-Id: If468ca444865f81a7adeabb72ecb6d8647f6dde0 --- hwpfilter/source/hwpreader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hwpfilter') 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); -- cgit