summaryrefslogtreecommitdiff
path: root/progs/redbook/wrap.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-11-10 17:23:02 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-11-10 17:23:02 +0000
commitdb6aa58267cad3f502f03ab80b9deb6b75320a91 (patch)
tree52d7cc352e2e7190b19b79ffdfb21c704b67dff1 /progs/redbook/wrap.c
parent8e3366fda795797d92afb6877cd280cf96a6d4e7 (diff)
patched to silence compiler warnings (Martin Lindhe)
Diffstat (limited to 'progs/redbook/wrap.c')
-rw-r--r--progs/redbook/wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/redbook/wrap.c b/progs/redbook/wrap.c
index c67e04a7f3..f9a1f162ab 100644
--- a/progs/redbook/wrap.c
+++ b/progs/redbook/wrap.c
@@ -65,7 +65,7 @@ void makeCheckImage(void)
for (i = 0; i < checkImageHeight; i++) {
for (j = 0; j < checkImageWidth; j++) {
- c = ((((i&0x8)==0)^((j&0x8))==0))*255;
+ c = (((i&0x8)==0)^((j&0x8)==0))*255;
checkImage[i][j][0] = (GLubyte) c;
checkImage[i][j][1] = (GLubyte) c;
checkImage[i][j][2] = (GLubyte) c;