avoid compiler warning about comparison between signed and unsigned integer expressions
This commit is contained in:
parent
9ec293c503
commit
12c005b57e
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ namespace agg
|
|||
m_x = m_x0 = x;
|
||||
m_y = y;
|
||||
if(y >= 0 && y < (int)m_pixf->height() &&
|
||||
x >= 0 && x+len <= (int)m_pixf->width())
|
||||
x >= 0 && x+(int)len <= (int)m_pixf->width())
|
||||
{
|
||||
return m_pix_ptr = m_pixf->pix_ptr(x, y);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue