diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 9d7101db..db812c0d 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -2651,7 +2651,7 @@ static void HWR_RenderPolyObjectPlane(polyobj_t *polysector, fixed_t fixedheight if (nrPlaneVerts > UINT16_MAX) // FIXME: exceeds plVerts size { - CONS_Debug(DBG_RENDER, "polygon size of %d exceeds max value of %d vertices\n", nrPlaneVerts, UINT16_MAX); + CONS_Debug(DBG_RENDER, "polygon size of %s exceeds max value of %d vertices\n", sizeu1(nrPlaneVerts), UINT16_MAX); return; }