agg - make cover unsigned to avoid left shift of negative values ref #3406

This commit is contained in:
artemp 2016-04-26 15:30:50 +02:00
parent 31e8cfc659
commit f5d6af4bb8

View file

@ -237,7 +237,7 @@ namespace agg
sl.reset_spans();
unsigned num_cells = m_outline.scanline_num_cells(m_scan_y);
const cell_aa* const* cells = m_outline.scanline_cells(m_scan_y);
int cover = 0;
unsigned cover = 0;
while(num_cells)
{
@ -507,4 +507,3 @@ namespace agg
#endif