aboutsummaryrefslogtreecommitdiff
path: root/linux/mga_drv.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2000-09-07 12:40:41 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2000-09-07 12:40:41 +0000
commitf1bb3c5f5ff40e89004064d8ac8e13a3798b9afb (patch)
treeed597fa5e8a8282263e50868e29371c2c02a80f1 /linux/mga_drv.h
parent7db6449142ca24183f50e6f9dcf396b899b4113b (diff)
Merged tdfx-2-1-branch
Diffstat (limited to 'linux/mga_drv.h')
-rw-r--r--linux/mga_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/mga_drv.h b/linux/mga_drv.h
index 1360cf63..6feba09a 100644
--- a/linux/mga_drv.h
+++ b/linux/mga_drv.h
@@ -295,7 +295,7 @@ drm_mga_prim_buf_t *tmp_buf = \
num_dwords + 1 + outcount, ADRINDEX(reg), val); \
if( ++outcount == 4) { \
outcount = 0; \
- dma_ptr[0] = *(u32 *)tempIndex; \
+ dma_ptr[0] = *(unsigned long *)tempIndex; \
dma_ptr+=5; \
num_dwords += 5; \
} \