summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-03-17 09:02:58 +0000
committerEgbert Eich <eich@suse.de>2004-03-17 09:02:58 +0000
commit4252055ed233b7ff9ad3c3e5d0bd988646915fbb (patch)
tree662822f3b39f458de1cb2e80d2ecebfd9f430d73
parent54889b17766a4515c920f0d76790e0280442301d (diff)
GetDeviceDontPropagateList() on 64bit machines (Andreas Luik).
-rw-r--r--src/XGetProp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGetProp.c b/src/XGetProp.c
index 8560108..ed5a2d1 100644
--- a/src/XGetProp.c
+++ b/src/XGetProp.c
@@ -93,7 +93,7 @@ XEventClass
if (*count)
{
rlen = rep.length << 2;
- list = (XEventClass *) Xmalloc (rlen);
+ list = (XEventClass *) Xmalloc (rep.length * sizeof(XEventClass));
if (list)
{
int i;