1diff --git a/third_party/agg23/agg_path_storage.h b/third_party/agg23/agg_path_storage.h 2index dc13851..7f21bac 100644 3--- a/third_party/agg23/agg_path_storage.h 4+++ b/third_party/agg23/agg_path_storage.h 5@@ -38,9 +38,9 @@ public: 6 } 7 unsigned vertex(FX_FLOAT* x, FX_FLOAT* y) 8 { 9- return (m_vertex_idx < m_path->total_vertices()) ? 10- m_path->vertex(m_vertex_idx++, x, y) : 11- path_cmd_stop; 12+ return (m_vertex_idx < m_path->total_vertices()) 13+ ? m_path->vertex(m_vertex_idx++, x, y) 14+ : static_cast<unsigned>(path_cmd_stop); 15 } 16 private: 17 const path_storage* m_path; 18