From f1bb3c5f5ff40e89004064d8ac8e13a3798b9afb Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 7 Sep 2000 12:40:41 +0000 Subject: Merged tdfx-2-1-branch --- linux/mga_drv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/mga_drv.h') 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; \ } \ -- cgit v1.2.3