From 9992160105b0433484bca804d62eb672aff113de Mon Sep 17 00:00:00 2001 From: runge Date: Sat, 24 Jun 2006 01:00:43 +0000 Subject: x11vnc: misc cleanup. --- x11vnc/xwrappers.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'x11vnc/xwrappers.c') diff --git a/x11vnc/xwrappers.c b/x11vnc/xwrappers.c index d58e914..b70d205 100644 --- a/x11vnc/xwrappers.c +++ b/x11vnc/xwrappers.c @@ -4,6 +4,7 @@ #include "xrecord.h" #include "keyboard.h" #include "xevents.h" +#include "connections.h" int xshm_present = 0; int xtest_present = 0; @@ -972,7 +973,7 @@ Display *XOpenDisplay_wr(char *display_name) { } d = XOpenDisplay(display_name); - if (db) fprintf(stderr, "XOpenDisplay_wr: %s 0x%x\n", display_name, d); + if (db) fprintf(stderr, "XOpenDisplay_wr: %s %p\n", display_name, (void *)d); xauth_raw(0); @@ -981,7 +982,7 @@ Display *XOpenDisplay_wr(char *display_name) { int XCloseDisplay_wr(Display *display) { int db = 0; - if (db) fprintf(stderr, "XCloseDisplay_wr: 0x%x\n", display); + if (db) fprintf(stderr, "XCloseDisplay_wr: %p\n", (void *)display); return XCloseDisplay(display); } -- cgit v1.2.1