1*3ac0a46fSAndroid Build Coastguard Workerdiff --git a/third_party/agg23/agg_basics.h b/third_party/agg23/agg_basics.h 2*3ac0a46fSAndroid Build Coastguard Workerindex e7583e308..84313db5b 100644 3*3ac0a46fSAndroid Build Coastguard Worker--- a/third_party/agg23/agg_basics.h 4*3ac0a46fSAndroid Build Coastguard Worker+++ b/third_party/agg23/agg_basics.h 5*3ac0a46fSAndroid Build Coastguard Worker@@ -216,7 +216,7 @@ inline bool is_close(unsigned c) 6*3ac0a46fSAndroid Build Coastguard Worker { 7*3ac0a46fSAndroid Build Coastguard Worker c &= ~path_flags_jr; 8*3ac0a46fSAndroid Build Coastguard Worker return (c & ~(path_flags_cw | path_flags_ccw)) == 9*3ac0a46fSAndroid Build Coastguard Worker- (path_cmd_end_poly | path_flags_close); 10*3ac0a46fSAndroid Build Coastguard Worker+ (unsigned{path_cmd_end_poly} | path_flags_close); 11*3ac0a46fSAndroid Build Coastguard Worker } 12*3ac0a46fSAndroid Build Coastguard Worker inline bool is_next_poly(unsigned c) 13*3ac0a46fSAndroid Build Coastguard Worker { 14*3ac0a46fSAndroid Build Coastguard Workerdiff --git a/third_party/agg23/agg_path_storage.cpp b/third_party/agg23/agg_path_storage.cpp 15*3ac0a46fSAndroid Build Coastguard Workerindex 1491e9e33..2981e9c0c 100644 16*3ac0a46fSAndroid Build Coastguard Worker--- a/third_party/agg23/agg_path_storage.cpp 17*3ac0a46fSAndroid Build Coastguard Worker+++ b/third_party/agg23/agg_path_storage.cpp 18*3ac0a46fSAndroid Build Coastguard Worker@@ -98,7 +98,7 @@ void path_storage::end_poly() 19*3ac0a46fSAndroid Build Coastguard Worker { 20*3ac0a46fSAndroid Build Coastguard Worker if(m_total_vertices) { 21*3ac0a46fSAndroid Build Coastguard Worker if(is_vertex(command(m_total_vertices - 1))) { 22*3ac0a46fSAndroid Build Coastguard Worker- add_vertex(0, 0, path_cmd_end_poly | path_flags_close); 23*3ac0a46fSAndroid Build Coastguard Worker+ add_vertex(0, 0, unsigned{path_cmd_end_poly} | path_flags_close); 24*3ac0a46fSAndroid Build Coastguard Worker } 25*3ac0a46fSAndroid Build Coastguard Worker } 26*3ac0a46fSAndroid Build Coastguard Worker } 27*3ac0a46fSAndroid Build Coastguard Workerdiff --git a/third_party/agg23/agg_rasterizer_scanline_aa.h b/third_party/agg23/agg_rasterizer_scanline_aa.h 28*3ac0a46fSAndroid Build Coastguard Workerindex 133d66c4f..dd0d00076 100644 29*3ac0a46fSAndroid Build Coastguard Worker--- a/third_party/agg23/agg_rasterizer_scanline_aa.h 30*3ac0a46fSAndroid Build Coastguard Worker+++ b/third_party/agg23/agg_rasterizer_scanline_aa.h 31*3ac0a46fSAndroid Build Coastguard Worker@@ -49,7 +49,7 @@ enum poly_base_scale_e { 32*3ac0a46fSAndroid Build Coastguard Worker }; 33*3ac0a46fSAndroid Build Coastguard Worker inline int poly_coord(float c) 34*3ac0a46fSAndroid Build Coastguard Worker { 35*3ac0a46fSAndroid Build Coastguard Worker- return int(c * poly_base_size); 36*3ac0a46fSAndroid Build Coastguard Worker+ return int(c * float{poly_base_size}); 37*3ac0a46fSAndroid Build Coastguard Worker } 38*3ac0a46fSAndroid Build Coastguard Worker struct cell_aa { 39*3ac0a46fSAndroid Build Coastguard Worker int x; 40*3ac0a46fSAndroid Build Coastguard Workerdiff --git a/third_party/agg23/agg_vcgen_stroke.cpp b/third_party/agg23/agg_vcgen_stroke.cpp 41*3ac0a46fSAndroid Build Coastguard Workerindex f65eac55f..b0f8a50e2 100644 42*3ac0a46fSAndroid Build Coastguard Worker--- a/third_party/agg23/agg_vcgen_stroke.cpp 43*3ac0a46fSAndroid Build Coastguard Worker+++ b/third_party/agg23/agg_vcgen_stroke.cpp 44*3ac0a46fSAndroid Build Coastguard Worker@@ -202,10 +202,10 @@ unsigned vcgen_stroke::vertex(float* x, float* y) 45*3ac0a46fSAndroid Build Coastguard Worker break; 46*3ac0a46fSAndroid Build Coastguard Worker case end_poly1: 47*3ac0a46fSAndroid Build Coastguard Worker m_status = m_prev_status; 48*3ac0a46fSAndroid Build Coastguard Worker- return path_cmd_end_poly | path_flags_close | path_flags_ccw; 49*3ac0a46fSAndroid Build Coastguard Worker+ return unsigned{path_cmd_end_poly} | path_flags_close | path_flags_ccw; 50*3ac0a46fSAndroid Build Coastguard Worker case end_poly2: 51*3ac0a46fSAndroid Build Coastguard Worker m_status = m_prev_status; 52*3ac0a46fSAndroid Build Coastguard Worker- return path_cmd_end_poly | path_flags_close | path_flags_cw; 53*3ac0a46fSAndroid Build Coastguard Worker+ return unsigned{path_cmd_end_poly} | path_flags_close | path_flags_cw; 54*3ac0a46fSAndroid Build Coastguard Worker case stop: 55*3ac0a46fSAndroid Build Coastguard Worker cmd = path_cmd_stop; 56*3ac0a46fSAndroid Build Coastguard Worker break; 57