summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
Diffstat (limited to 'Xext')
-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;