summaryrefslogtreecommitdiff
path: root/src/i830_cursor.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2006-04-10 11:26:06 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-04-10 11:26:06 -0700
commit39bdfbb4c23c9ba2a44888f22330a892c4becedc (patch)
tree946aceac17733ad28a20a93ff04ef20eab49e32a /src/i830_cursor.c
parent35e4756645891bfc85f25f1ab60c287eba9ef749 (diff)
x86_64 warning fixes
Diffstat (limited to 'src/i830_cursor.c')
-rw-r--r--src/i830_cursor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/i830_cursor.c b/src/i830_cursor.c
index c3e0ff72..e465b98c 100644
--- a/src/i830_cursor.c
+++ b/src/i830_cursor.c
@@ -362,10 +362,12 @@ I830SetCursorPosition(ScrnInfoPtr pScrn, int x, int y)
{
I830Ptr pI830 = I830PTR(pScrn);
CARD32 temp = 0;
- static Bool outsideViewport = FALSE;
Bool hide = FALSE, show = FALSE;
int oldx = x, oldy = y;
int hotspotx = 0, hotspoty = 0;
+#if 0
+ static Bool outsideViewport = FALSE;
+#endif
oldx += pScrn->frameX0; /* undo what xf86HWCurs did */
oldy += pScrn->frameY0;