--- src/unix/video-drivers/glxtool.c.orig 2004-12-14 00:52:41.786602104 -0800 +++ src/unix/video-drivers/glxtool.c 2004-12-14 00:53:16.957255352 -0800 @@ -404,14 +404,14 @@ { (void) setGLCapabilities (display, vgc.visual, glCaps); - fprintf(stderr, "\nfindVisualGlX results vi(ID:%d): \n screen %d, depth %d, class %d,\n clrmapsz %d, bitsPerRGB %d, shared with %d\n", + fprintf(stderr, "\nfindVisualGlX results vi(ID:%d): \n screen %d, depth %d, class %d,\n clrmapsz %d, bitsPerRGB %d, shared with %ld\n", (int)vgc.visual->visualid, (int)vgc.visual->screen, (int)vgc.visual->depth, (int)vgc.visual->class, (int)vgc.visual->colormap_size, (int)vgc.visual->bits_per_rgb, - (int)shareWith); + (unsigned long)shareWith); } return vgc;