diff --git a/reactos/subsys/win32k/dib/dib1bpp.c b/reactos/subsys/win32k/dib/dib1bpp.c index 77e01a683ea..6854ec957d4 100644 --- a/reactos/subsys/win32k/dib/dib1bpp.c +++ b/reactos/subsys/win32k/dib/dib1bpp.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: dib1bpp.c,v 1.22 2004/04/07 16:38:27 weiden Exp $ */ +/* $Id: dib1bpp.c,v 1.23 2004/04/08 15:45:17 navaraf Exp $ */ #undef WIN32_LEAN_AND_MEAN #include @@ -409,7 +409,7 @@ DIB_1BPP_BitBlt( } } - RoundedRight = DestRect->right - ((DestRect->right - DestRect->left) & 0x31); + RoundedRight = DestRect->right - ((DestRect->right - DestRect->left) & 31); SourceY = SourcePoint->y; for (Y = DestRect->top; Y < DestRect->bottom; Y++)