More Win32 build compliance fixups
diff --git a/progs/redbook/image.c b/progs/redbook/image.c
index 8e62f5a..dc1a724 100644
--- a/progs/redbook/image.c
+++ b/progs/redbook/image.c
@@ -64,7 +64,7 @@
     
    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;
diff --git a/progs/samples/overlay.c b/progs/samples/overlay.c
index 0def2b1..4542b49 100644
--- a/progs/samples/overlay.c
+++ b/progs/samples/overlay.c
@@ -347,7 +347,7 @@
     if (!glutLayerGet(GLUT_OVERLAY_POSSIBLE))
     {
 	fprintf(stderr, "Overlay not available\n");
-	return;
+	return(1);
     }
 
     if (Args(argc, argv) == GL_FALSE) {