agg - make cover unsigned
to avoid left shift of negative values ref #3406
This commit is contained in:
parent
31e8cfc659
commit
f5d6af4bb8
1 changed files with 86 additions and 87 deletions
|
@ -237,7 +237,7 @@ namespace agg
|
||||||
sl.reset_spans();
|
sl.reset_spans();
|
||||||
unsigned num_cells = m_outline.scanline_num_cells(m_scan_y);
|
unsigned num_cells = m_outline.scanline_num_cells(m_scan_y);
|
||||||
const cell_aa* const* cells = m_outline.scanline_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)
|
while(num_cells)
|
||||||
{
|
{
|
||||||
|
@ -507,4 +507,3 @@ namespace agg
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue