[MPlayer-cvslog] r37726 - in trunk/vidix/sysdep: pci_alpha.c pci_linux.c pci_powerpc.c
reimar
subversion at mplayerhq.hu
Sun Feb 14 15:04:13 CET 2016
Author: reimar
Date: Sun Feb 14 15:04:13 2016
New Revision: 37726
Log:
VIDIX: fix variable type to match bytes read.
Modified:
trunk/vidix/sysdep/pci_alpha.c
trunk/vidix/sysdep/pci_linux.c
trunk/vidix/sysdep/pci_powerpc.c
Modified: trunk/vidix/sysdep/pci_alpha.c
==============================================================================
--- trunk/vidix/sysdep/pci_alpha.c Sun Feb 14 14:52:15 2016 (r37725)
+++ trunk/vidix/sysdep/pci_alpha.c Sun Feb 14 15:04:13 2016 (r37726)
@@ -22,7 +22,7 @@ static long pci_config_read_long(
int func,
unsigned cmd)
{
- unsigned long retval;
+ unsigned retval;
pciconfig_read(bus, dev<<3, cmd, 4, &retval);
return retval;
}
Modified: trunk/vidix/sysdep/pci_linux.c
==============================================================================
--- trunk/vidix/sysdep/pci_linux.c Sun Feb 14 14:52:15 2016 (r37725)
+++ trunk/vidix/sysdep/pci_linux.c Sun Feb 14 15:04:13 2016 (r37726)
@@ -192,7 +192,7 @@ static long pci_config_read_long(
int func,
unsigned cmd)
{
- long retval;
+ unsigned retval;
char path[100];
int fd;
sprintf(path,"/proc/bus/pci/%02d/%02x.0", bus, dev);
Modified: trunk/vidix/sysdep/pci_powerpc.c
==============================================================================
--- trunk/vidix/sysdep/pci_powerpc.c Sun Feb 14 14:52:15 2016 (r37725)
+++ trunk/vidix/sysdep/pci_powerpc.c Sun Feb 14 15:04:13 2016 (r37726)
@@ -23,7 +23,7 @@ static long pci_config_read_long(
int func,
unsigned cmd)
{
- long retval;
+ unsigned retval;
pciconfig_read(bus, dev<<3, cmd, 4, &retval);
return retval;
}
More information about the MPlayer-cvslog
mailing list