mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
bugzilla #2194: fix an alignement problem on 64 bit architectures.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user