summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/glxheads.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos/glxheads.c')
-rw-r--r--progs/xdemos/glxheads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/glxheads.c b/progs/xdemos/glxheads.c
index b1e2be87763..0145a70e91c 100644
--- a/progs/xdemos/glxheads.c
+++ b/progs/xdemos/glxheads.c
@@ -247,7 +247,7 @@ static void
PrintInfo(const struct head *h)
{
printf("Name: %s\n", h->DisplayName);
- printf(" Display: %p\n", h->Dpy);
+ printf(" Display: %p\n", (void *) h->Dpy);
printf(" Window: 0x%x\n", (int) h->Win);
printf(" Context: 0x%lx\n", (long) h->Context);
printf(" GL_VERSION: %s\n", h->Version);