xorg/xc/programs/Xserver/hw/xfree86/os-support/linux

Saren Sandmann Pedersen sandmann at daimi.au.dk
Tue Aug 3 00:15:31 EEST 2004


CVS commit by sandmann: 

Mon Aug  2 21:49:33 2004  Soeren Sandmann  <sandmann at redhat.com>

	* programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c
	(mapVidMem): Remove double cast.


  M +1 -1      xorg/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c   1.3


--- xorg/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c  #1.2:1.3
@@ -451,5 +451,5 @@ mapVidMem(int ScreenNum, unsigned long B
     /* This requires linux-0.99.pl10 or above */
     base = mmap((caddr_t)0, Size + alignOff, prot, mapflags, fd,
-                (off_t)(off_t)realBase  + BUS_BASE);
+                (off_t)realBase  + BUS_BASE);
     close(fd);
     if (base == MAP_FAILED) {





More information about the xorg-commit mailing list