aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Rootless.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
index 85643a853..2adb254f6 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
@@ -1001,7 +1001,7 @@ void nxagentImportProperty(Window window,
else if (strcmp(typeS, "ATOM") == 0)
{
Atom *atoms = malloc(nitems * sizeof(Atom));
- XlibAtom *input = (XlibAtom*) buffer;
+ CARD32 *input = (CARD32*) buffer;
if (atoms == NULL)
{
@@ -1017,7 +1017,7 @@ void nxagentImportProperty(Window window,
for (int i = 0; i < nitems; i++)
{
- atoms[i] = nxagentRemoteToLocalAtom(input[i]);
+ atoms[i] = nxagentRemoteToLocalAtom((XlibAtom)input[i]);
if (atoms[i] == None)
{