summaryrefslogtreecommitdiff
path: root/mi/miscrinit.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2009-02-07 20:47:54 +0100
committerMaarten Maathuis <madman2003@gmail.com>2009-02-07 21:58:17 +0100
commitd591c7d1b87c61ee8add2fce689e35cf097eed4f (patch)
tree0ff60ff5d30c524c51996dab5bf34dd39ada99a6 /mi/miscrinit.c
parent00226d0b589595cdd45c75e7e28237334a8883b1 (diff)
mi: kill a few warnings
Diffstat (limited to 'mi/miscrinit.c')
-rw-r--r--mi/miscrinit.c3
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);
}