[MPlayer-cvslog] r28053 - trunk/vidix/sh_veu_vid.c

diego subversion at mplayerhq.hu
Sun Nov 30 14:37:42 CET 2008


Author: diego
Date: Sun Nov 30 14:37:42 2008
New Revision: 28053

Log:
Use standard unsigned long type instead of u_long.


Modified:
   trunk/vidix/sh_veu_vid.c

Modified: trunk/vidix/sh_veu_vid.c
==============================================================================
--- trunk/vidix/sh_veu_vid.c	(original)
+++ trunk/vidix/sh_veu_vid.c	Sun Nov 30 14:37:42 2008
@@ -312,7 +312,7 @@ static void sh_veu_wait_irq(vidix_playba
     unsigned long n_pending;
 
     /* Wait for an interrupt */
-    read(uio_dev.fd, &n_pending, sizeof(u_long));
+    read(uio_dev.fd, &n_pending, sizeof(unsigned long));
 
     write_reg(&uio_mmio, 0x100, VEVTR); /* ack int, write 0 to bit 0 */
 }
@@ -473,7 +473,7 @@ static void sh_veu_blit(vidix_playback_t
     write_reg(&uio_mmio, addr + info->offset.u, VSACR);
 
     /* Enable interrupt in UIO driver */
-    write(uio_dev.fd, &enable, sizeof(u_long));
+    write(uio_dev.fd, &enable, sizeof(unsigned long));
 
     write_reg(&uio_mmio, 1, VESTR); /* start operation */
 }



More information about the MPlayer-cvslog mailing list