From bd4c7126dc2190bb5973dd0d97188028194ae160 Mon Sep 17 00:00:00 2001 From: Felipe Corr??a da Silva Sanches Date: Mon, 9 Feb 2009 02:18:15 +0000 Subject: gcc warning cleanup suggested parentheses (bzr r7252) --- src/trace/imagemap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/trace/imagemap.cpp') diff --git a/src/trace/imagemap.cpp b/src/trace/imagemap.cpp index a89cfaa05..a9ad9b9c8 100644 --- a/src/trace/imagemap.cpp +++ b/src/trace/imagemap.cpp @@ -109,9 +109,9 @@ GrayMap *GrayMapCreate(int width, int height) static void ppSetPixel(PackedPixelMap *me, int x, int y, int r, int g, int b) { unsigned long *pix = me->rows[y] + x; - *pix = ((unsigned long)r)<<16 & 0xff0000L | - ((unsigned long)g)<< 8 & 0x00ff00L | - ((unsigned long)b) & 0x0000ffL; + *pix = (((unsigned long)r)<<16 & 0xff0000L) | + (((unsigned long)g)<< 8 & 0x00ff00L) | + (((unsigned long)b) & 0x0000ffL); } static void ppSetPixelLong(PackedPixelMap *me, int x, int y, unsigned long rgb) -- cgit v1.2.3