diff options
author | Joan Lledó <jlledom@member.fsf.org> | 2019-11-03 21:37:10 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-11-03 21:38:18 +0100 |
commit | 513e5f1def6e019613430d2ffed952da470fb801 (patch) | |
tree | c3333f25050b9658789bcdfdbcfba62178fe2b52 /pci-arbiter | |
parent | ec057117c42c18772b207851b4b13d8d383685e3 (diff) | |
download | hurd-513e5f1def6e019613430d2ffed952da470fb801.tar.gz hurd-513e5f1def6e019613430d2ffed952da470fb801.tar.bz2 hurd-513e5f1def6e019613430d2ffed952da470fb801.zip |
pci-arbiter: Fix warning
* pci-arbiter/netfs_impl.c:
* netfs_attempt_write: Cast op function to pci_io_op_t
Diffstat (limited to 'pci-arbiter')
-rw-r--r-- | pci-arbiter/netfs_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pci-arbiter/netfs_impl.c b/pci-arbiter/netfs_impl.c index 0be8c370..b987a0bc 100644 --- a/pci-arbiter/netfs_impl.c +++ b/pci-arbiter/netfs_impl.c @@ -539,7 +539,7 @@ netfs_attempt_write (struct iouser * cred, struct node * node, { err = io_config_file (node->nn->ln->device, offset, len, data, - pci_device_cfg_write); + (pci_io_op_t) pci_device_cfg_write); if (!err) { /* Update mtime and ctime */ |