Kaydet (Commit) 8fd2d48a authored tarafından Pavel Janík's avatar Pavel Janík

Use sal's size_t printf type modifier to prevent compiler warning.

üst 3a01ed4d
...@@ -1944,7 +1944,7 @@ void HwpReader::makeTableStyle(Table *tbl) ...@@ -1944,7 +1944,7 @@ void HwpReader::makeTableStyle(Table *tbl)
// --------------- row ---------------- // // --------------- row ---------------- //
for (size_t i = 0 ; i < tbl->rows.nCount -1 ; i++) 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 "d",hbox->style.boxnum, i + 1);
padd(ascii("style:name"), sXML_CDATA, ascii( buf )); padd(ascii("style:name"), sXML_CDATA, ascii( buf ));
padd(ascii("style:family"), sXML_CDATA,ascii("table-row")); padd(ascii("style:family"), sXML_CDATA,ascii("table-row"));
rstartEl(ascii("style:style"), rList); rstartEl(ascii("style:style"), rList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment