warning fixes (closes 767152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e75f014a3c
commit
646c4aebb2
@ -303,9 +303,9 @@ wxImage wxImage::ShrinkBy( int xFactor , int yFactor ) const
|
||||
}
|
||||
else
|
||||
{
|
||||
*(target_data++) = avgRed / counter ;
|
||||
*(target_data++) = avgGreen / counter ;
|
||||
*(target_data++) = avgBlue / counter ;
|
||||
*(target_data++) = (unsigned char)(avgRed / counter);
|
||||
*(target_data++) = (unsigned char)(avgGreen / counter);
|
||||
*(target_data++) = (unsigned char)(avgBlue / counter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user