diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2015-12-29 23:14:21 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-12-29 23:20:56 +0100 |
commit | fd0f30ca23e685f56578bebd08b666be0287d59e (patch) | |
tree | 36ea2b2aec36b83d3525d63f890dd95359443757 /trans/streamio.c | |
parent | aadd48305a93496e0158fb06f4cb7e1b33ecb6fc (diff) | |
download | hurd-fd0f30ca23e685f56578bebd08b666be0287d59e.tar.gz hurd-fd0f30ca23e685f56578bebd08b666be0287d59e.tar.bz2 hurd-fd0f30ca23e685f56578bebd08b666be0287d59e.zip |
fix compiler warnings in hurd/trans
trans: Fix compiler warnings.
* trans/mtab.c (mtab_mark_as_seen): Cast idport to hurd_ihash_value_t.
* trans/streamio.c (dev_open): Cast name to char *.
Diffstat (limited to 'trans/streamio.c')
-rw-r--r-- | trans/streamio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/streamio.c b/trans/streamio.c index 507250bd..a80975f3 100644 --- a/trans/streamio.c +++ b/trans/streamio.c @@ -808,7 +808,7 @@ dev_open (const char *name, dev_mode_t mode) phys_reply_writes, MACH_MSG_TYPE_MAKE_SEND); } - err = device_open_request (device_master, phys_reply, mode, name); + err = device_open_request (device_master, phys_reply, mode, (char *) name); if (err) { mach_port_deallocate (mach_task_self (), phys_reply); |