Warning fixes related to various cases of typecasting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,9 +60,9 @@ static bool DoRegionUnion(wxRegion& region,
|
||||
{
|
||||
unsigned char hiR, hiG, hiB;
|
||||
|
||||
hiR = wxMin(0xFF, loR + tolerance);
|
||||
hiG = wxMin(0xFF, loG + tolerance);
|
||||
hiB = wxMin(0xFF, loB + tolerance);
|
||||
hiR = (unsigned char)wxMin(0xFF, loR + tolerance);
|
||||
hiG = (unsigned char)wxMin(0xFF, loG + tolerance);
|
||||
hiB = (unsigned char)wxMin(0xFF, loB + tolerance);
|
||||
|
||||
// Loop through the image row by row, pixel by pixel, building up
|
||||
// rectangles to add to the region.
|
||||
|
Reference in New Issue
Block a user