From e95f0d7986334f92d2961f08646b0d167103d2bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 21 Aug 2004 15:42:56 +0000 Subject: [PATCH] removed warning-hiding cast, previous revision removed the warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/image.cpp b/src/common/image.cpp index b55fd18070..469260fb47 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -961,7 +961,7 @@ bool wxImage::ConvertAlphaToMask(unsigned char threshold) { for (int x = 0; x < w; x++, imgdata += 3, alphadata++) { - if ((unsigned)(*alphadata) < threshold) + if (*alphadata < threshold) { imgdata[0] = mr; imgdata[1] = mg; -- 2.45.2