Ensure node count is signed

Fixes a broken commit from a0865082fb
This commit is contained in:
Seth Hillbrand 2022-10-07 08:14:14 -07:00
parent 8c19bf4815
commit 863184e3dc
1 changed files with 1 additions and 1 deletions

View File

@ -983,7 +983,7 @@ void PDF_PLOTTER::emitOutlineNode( OUTLINE_NODE* node, int parentHandle, int nex
if( node->children.size() > 0 )
{
fprintf( m_outputFile, " /Count %zu\n", -1*node->children.size() );
fprintf( m_outputFile, " /Count %zd\n", -1 * node->children.size() );
fprintf( m_outputFile, " /First %d 0 R\n", node->children.front()->entryHandle );
fprintf( m_outputFile, " /Last %d 0 R\n", node->children.back()->entryHandle );
}