From 39f7129214983e2dfc314194e21b60d1c1c7cbf8 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 30 Nov 2008 13:37:42 +0000 Subject: [PATCH] Use standard unsigned long type instead of u_long. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28053 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/sh_veu_vid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vidix/sh_veu_vid.c b/vidix/sh_veu_vid.c index 1d683e38c6..7ce49b4a94 100644 --- a/vidix/sh_veu_vid.c +++ b/vidix/sh_veu_vid.c @@ -312,7 +312,7 @@ static void sh_veu_wait_irq(vidix_playback_t *info) 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 *info, int frame) 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 */ }