summaryrefslogtreecommitdiff
path: root/Xext/saver.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2005-03-23 21:09:48 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2005-03-23 21:09:48 +0000
commit5f320335c3a8148ae98f82a00ff44954197f4251 (patch)
treec4b2af9a929b33a124602e9e08fd9ecca32181eb /Xext/saver.c
parentf4e9f522fe8bec3dd6294d062c2244a06623add3 (diff)
bugzilla #2194: fix an alignement problem on 64 bit architectures.
Diffstat (limited to 'Xext/saver.c')
-rw-r--r--Xext/saver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/saver.c b/Xext/saver.c
index 76d044469..0c725421d 100644
--- a/Xext/saver.c
+++ b/Xext/saver.c
@@ -810,7 +810,7 @@ ScreenSaverSetAttributes (ClientPtr client)
Bool fOK;
DepthPtr pDepth;
WindowOptPtr ancwopt;
- unsigned long *pVlist;
+ unsigned int *pVlist;
unsigned long *values = 0;
unsigned long tmask, imask;
unsigned long val;
@@ -960,7 +960,7 @@ ScreenSaverSetAttributes (ClientPtr client)
* to them.
*/
pAttr->mask = tmask = stuff->mask | CWOverrideRedirect;
- pVlist = (unsigned long *) (stuff + 1);
+ pVlist = (unsigned int *) (stuff + 1);
while (tmask) {
imask = lowbit (tmask);
tmask &= ~imask;