Mercurial > mplayer.hg
changeset 28019:f504a06fcf50
Use standard unsigned long type instead of u_long.
author | diego |
---|---|
date | Sun, 30 Nov 2008 13:37:42 +0000 |
parents | 4ac70bd6acac |
children | 537ea0a7dbb5 |
files | vidix/sh_veu_vid.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/sh_veu_vid.c Sun Nov 30 13:22:34 2008 +0000 +++ b/vidix/sh_veu_vid.c Sun Nov 30 13:37:42 2008 +0000 @@ -312,7 +312,7 @@ 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 @@ 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 */ }