summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/glxheads.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-04-21 14:51:16 +0000
committerBrian Paul <[email protected]>2003-04-21 14:51:16 +0000
commitd93b68f17aa4bc980fcda57e8efe29a831a44cdc (patch)
treee325e2b7db956eee0c547f843ea157921e49165d /progs/xdemos/glxheads.c
parentff389b00a5b76e93308163fcb858913d8594af80 (diff)
silence warnings
Diffstat (limited to 'progs/xdemos/glxheads.c')
-rw-r--r--progs/xdemos/glxheads.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/xdemos/glxheads.c b/progs/xdemos/glxheads.c
index 605ccc38584..428576d9d9c 100644
--- a/progs/xdemos/glxheads.c
+++ b/progs/xdemos/glxheads.c
@@ -1,4 +1,4 @@
-/* $Id: glxheads.c,v 1.3 2002/03/08 19:44:28 brianp Exp $ */
+/* $Id: glxheads.c,v 1.4 2003/04/21 14:51:16 brianp Exp $ */
/*
* Exercise multiple GLX connections on multiple X displays.
@@ -248,9 +248,9 @@ static void
PrintInfo(const struct head *h)
{
printf("Name: %s\n", h->DisplayName);
- printf(" Display: 0x%x\n", (int) h->Dpy);
+ printf(" Display: %p\n", 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);