aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/xtrans/Xtransutil.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-03 09:36:23 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-03 09:36:23 +0100
commitd12b77543c613bff03014094c44726eddbdf5ae7 (patch)
tree16b0ad5c00d6bde479f3331d434cca39bcde22ab /nx-X11/lib/xtrans/Xtransutil.c
parent8dc0d18c15f003703f09124e0fe6fd497f388683 (diff)
parent47fab08aa68367734dc4cdf66dfb29ed086947e7 (diff)
downloadnx-libs-d12b77543c613bff03014094c44726eddbdf5ae7.tar.gz
nx-libs-d12b77543c613bff03014094c44726eddbdf5ae7.tar.bz2
nx-libs-d12b77543c613bff03014094c44726eddbdf5ae7.zip
Merge branch 'uli42-pr/libX11_xtrans_silence_compiler_warnings' into 3.6.x
Attributes GH PR #278: https://github.com/ArcticaProject/nx-libs/pull/278
Diffstat (limited to 'nx-X11/lib/xtrans/Xtransutil.c')
-rw-r--r--nx-X11/lib/xtrans/Xtransutil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nx-X11/lib/xtrans/Xtransutil.c b/nx-X11/lib/xtrans/Xtransutil.c
index 63f0fc355..0063e83d8 100644
--- a/nx-X11/lib/xtrans/Xtransutil.c
+++ b/nx-X11/lib/xtrans/Xtransutil.c
@@ -91,7 +91,7 @@ TRANS(ConvertAddress)(int *familyp, int *addrlenp, Xtransaddr **addrp)
{
- prmsg(2,"ConvertAddress(%d,%d,%p)\n",*familyp,*addrlenp,*addrp);
+ prmsg(2,"ConvertAddress(%d,%d,%p)\n",*familyp,*addrlenp,(void *) *addrp);
switch( *familyp )
{
@@ -434,6 +434,7 @@ TRANS(WSAStartup) (void)
#include <ctype.h>
+#if defined(X11_t)
static int
is_numeric (const char *str)
{
@@ -445,6 +446,7 @@ is_numeric (const char *str)
return (1);
}
+#endif
#ifdef TRANS_SERVER
#include <sys/types.h>