summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/property.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property.c b/src/property.c
index 876d9cd..5c76728 100644
--- a/src/property.c
+++ b/src/property.c
@@ -78,7 +78,7 @@ print_property(Display *dpy, XDevice* dev, Atom property)
printf("\t%s\n", ptr);
break;
case XA_ATOM:
- printf("\t%s\n", XGetAtomName(dpy, (Atom)(*ptr)));
+ printf("\t%s\n", XGetAtomName(dpy, *(Atom*)ptr));
break;
default:
if (float_atom != None && act_type == float_atom)