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:
Vadim Zeitlin
2003-07-25 12:14:08 +00:00
parent e75f014a3c
commit 646c4aebb2

View File

@@ -303,9 +303,9 @@ wxImage wxImage::ShrinkBy( int xFactor , int yFactor ) const
} }
else else
{ {
*(target_data++) = avgRed / counter ; *(target_data++) = (unsigned char)(avgRed / counter);
*(target_data++) = avgGreen / counter ; *(target_data++) = (unsigned char)(avgGreen / counter);
*(target_data++) = avgBlue / counter ; *(target_data++) = (unsigned char)(avgBlue / counter);
} }
} }
} }