aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-03-21 22:49:25 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-05-02 15:38:35 +0200
commit021023202a2c96f37197cc64268003f4fb9e5ad5 (patch)
tree66c556fc0a67b20fe7750eae5a3a76caf15d0f0b /nx-X11/programs/Xserver/hw/nxagent
parent00059798d5ee29296d2e4f5e0ff05ba0fd44ac7b (diff)
downloadnx-libs-021023202a2c96f37197cc64268003f4fb9e5ad5.tar.gz
nx-libs-021023202a2c96f37197cc64268003f4fb9e5ad5.tar.bz2
nx-libs-021023202a2c96f37197cc64268003f4fb9e5ad5.zip
hw/nxagent/Keystroke.c: Fix warning: pointer type mismatch in conditional expression.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Keystroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
index 404ed035d..212fcd93c 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
@@ -168,7 +168,7 @@ static int read_binding_from_xmlnode(xmlNode *node, struct nxagentSpecialKeystro
/* ignore attributes without data (which should never happen anyways) */
if (attr->children->content == NULL)
{
- char *aname = (attr->name)?(attr->name):"unknown";
+ char *aname = (attr->name)?((char *)attr->name):"unknown";
fprintf(stderr, "attribute %s with NULL value", aname);
continue;
}