diff options
Diffstat (limited to 'libdha/sysdep')
-rw-r--r-- | libdha/sysdep/pci_alpha.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdha/sysdep/pci_alpha.c b/libdha/sysdep/pci_alpha.c index 1ab1db2aa4..e968b3e121 100644 --- a/libdha/sysdep/pci_alpha.c +++ b/libdha/sysdep/pci_alpha.c @@ -11,7 +11,7 @@ static int pci_get_vendor( unsigned char dev, int func) { - int retval; + unsigned long retval; pciconfig_read(bus, dev<<3, PCI_ID_REG, 4, &retval); return retval; } @@ -22,7 +22,7 @@ static long pci_config_read_long( int func, unsigned cmd) { - long retval; + unsigned long retval; pciconfig_read(bus, dev<<3, cmd, 4, &retval); return retval; } |