diff options
Diffstat (limited to 'mi/miscrinit.c')
-rw-r--r-- | mi/miscrinit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mi/miscrinit.c b/mi/miscrinit.c index 93a6c4bda..fe768f4a9 100644 --- a/mi/miscrinit.c +++ b/mi/miscrinit.c @@ -308,5 +308,6 @@ DevPrivateKey miZeroLineScreenKey = &miZeroLineScreenKeyIndex; void miSetZeroLineBias(ScreenPtr pScreen, unsigned int bias) { - dixSetPrivate(&pScreen->devPrivates, miZeroLineScreenKey, (pointer)bias); + dixSetPrivate(&pScreen->devPrivates, miZeroLineScreenKey, + (unsigned long *)(unsigned long)bias); } |