summaryrefslogtreecommitdiff
path: root/mi/miline.h
diff options
context:
space:
mode:
Diffstat (limited to 'mi/miline.h')
-rw-r--r--mi/miline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/miline.h b/mi/miline.h
index e1dd6d553..b5f706dbf 100644
--- a/mi/miline.h
+++ b/mi/miline.h
@@ -120,7 +120,7 @@ extern _X_EXPORT void miSetZeroLineBias(
t = y1; y1 = y2; y2 = t;\
}
-#define miGetZeroLineBias(_pScreen) ((unsigned long) \
+#define miGetZeroLineBias(_pScreen) ((unsigned long) (unsigned long*)\
dixLookupPrivate(&(_pScreen)->devPrivates, miZeroLineScreenKey))
#define CalcLineDeltas(_x1,_y1,_x2,_y2,_adx,_ady,_sx,_sy,_SX,_SY,_octant) \