aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-03-08 22:25:15 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-08-22 15:36:55 +0200
commitf8e76fd69157b6f466b2efc7d41b031d530e873c (patch)
tree57f50d2a311376910f645d9d414e36a98e793205
parent9f4eb6a0bbfc2035bb096d5cbcdf27afb50363d7 (diff)
downloadnx-libs-f8e76fd69157b6f466b2efc7d41b031d530e873c.tar.gz
nx-libs-f8e76fd69157b6f466b2efc7d41b031d530e873c.tar.bz2
nx-libs-f8e76fd69157b6f466b2efc7d41b031d530e873c.zip
Events.c: mitigate compiler warning
"ISO C forbids assignment between function pointer and 'void *' [-pedantic]"
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index fad9f2865..23a9182de 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -821,7 +821,7 @@ void nxagentDispatchEvents(PredicateFuncPtr predicate)
#ifdef TEST
fprintf(stderr, "nxagentDispatchEvents: Going to handle new events with "
- "predicate [%p].\n", predicate);
+ "predicate [%p].\n", *(void **)&predicate);
#endif
if (nxagentRemoteExposeRegion == NULL)