From 863184e3dca0cf9f7af20b30d5d5926f37d26d0a Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 7 Oct 2022 08:14:14 -0700 Subject: [PATCH] Ensure node count is signed Fixes a broken commit from a0865082fb6d26d9b9a6c178100be1068ce54360 --- common/plotters/PDF_plotter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/plotters/PDF_plotter.cpp b/common/plotters/PDF_plotter.cpp index b2bd9fca66..185e14e41a 100644 --- a/common/plotters/PDF_plotter.cpp +++ b/common/plotters/PDF_plotter.cpp @@ -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 ); }