-/* $Id: glxheads.c,v 1.3 2002/03/08 19:44:28 brianp Exp $ */
/*
* Exercise multiple GLX connections on multiple X displays.
PrintInfo(const struct head *h)
{
printf("Name: %s\n", h->DisplayName);
- printf(" Display: 0x%x\n", (int) h->Dpy);
+ printf(" Display: %p\n", (void *) h->Dpy);
printf(" Window: 0x%x\n", (int) h->Win);
- printf(" Context: 0x%x\n", (int) h->Context);
+ printf(" Context: 0x%lx\n", (long) h->Context);
printf(" GL_VERSION: %s\n", h->Version);
printf(" GL_VENDOR: %s\n", h->Vendor);
printf(" GL_RENDERER: %s\n", h->Renderer);