Index: png.c =================================================================== --- png.c (revision 17247) +++ png.c (revision 17248) @@ -1477,10 +1477,12 @@ case pcb_cap_round: type = 'C'; break; - default: case pcb_cap_square: type = 'S'; break; + default: + assert(!"unhandled cap"); + type = 'C'; } if (gc->width) r = SCALE(gc->width + 2 * bloat);