diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2016-11-02 23:36:50 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-11-02 23:36:50 +0100 |
commit | 2631603b60ae8142e2a61a5d3a3b8b7be6d9a737 (patch) | |
tree | 03785738b92e2beafd3b2f2ded58cdb81f45f20b /nx-X11/lib/xtrans/Xtrans.c | |
parent | 5d06f46e56e87b20fad36506bd06007ae2c9b38d (diff) | |
download | nx-libs-2631603b60ae8142e2a61a5d3a3b8b7be6d9a737.tar.gz nx-libs-2631603b60ae8142e2a61a5d3a3b8b7be6d9a737.tar.bz2 nx-libs-2631603b60ae8142e2a61a5d3a3b8b7be6d9a737.zip |
xtrans: Fix compile warning
warning: format ‘%p’ expects argument of type ‘void *’
Diffstat (limited to 'nx-X11/lib/xtrans/Xtrans.c')
-rw-r--r-- | nx-X11/lib/xtrans/Xtrans.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/xtrans/Xtrans.c b/nx-X11/lib/xtrans/Xtrans.c index 16dd61155..637c419a2 100644 --- a/nx-X11/lib/xtrans/Xtrans.c +++ b/nx-X11/lib/xtrans/Xtrans.c @@ -132,7 +132,7 @@ void TRANS(FreeConnInfo) (XtransConnInfo ciptr) { - prmsg (3,"FreeConnInfo(%p)\n", ciptr); + prmsg (3,"FreeConnInfo(%p)\n", (void *) ciptr); if (ciptr->addr) free (ciptr->addr); @@ -1143,7 +1143,7 @@ TRANS(MakeAllCOTSServerListeners) (const char *port, int *partial, int ipv6_succ = 0; #endif prmsg (2,"MakeAllCOTSServerListeners(%s,%p)\n", - port ? port : "NULL", ciptrs_ret); + port ? port : "NULL", (void *) ciptrs_ret); *count_ret = 0; |