[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 54/75: fix compiler warnings in hurd/trans
From: |
Samuel Thibault |
Subject: |
[hurd] 54/75: fix compiler warnings in hurd/trans |
Date: |
Thu, 14 Jan 2016 01:04:10 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch dde
in repository hurd.
commit fd0f30ca23e685f56578bebd08b666be0287d59e
Author: Flavio Cruz <address@hidden>
Date: Tue Dec 29 23:14:21 2015 +0100
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 *.
---
trans/mtab.c | 2 +-
trans/streamio.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/trans/mtab.c b/trans/mtab.c
index a9928b3..e855080 100644
--- a/trans/mtab.c
+++ b/trans/mtab.c
@@ -330,7 +330,7 @@ mtab_mark_as_seen (struct mtab *mtab, mach_port_t node)
return TRUE;
}
- hurd_ihash_add (&mtab->ports_seen, idport, idport);
+ hurd_ihash_add (&mtab->ports_seen, idport, (hurd_ihash_value_t) idport);
return FALSE;
}
diff --git a/trans/streamio.c b/trans/streamio.c
index 507250b..a80975f 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);
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 15/75: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd into dde, (continued)
- [hurd] 15/75: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd into dde, Samuel Thibault, 2016/01/13
- [hurd] 73/75: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd into dde, Samuel Thibault, 2016/01/13
- [hurd] 16/75: Add libhurd-slab, Samuel Thibault, 2016/01/13
- [hurd] 70/75: Merge remote-tracking branch 'incubator/dde' into dde-upstream, Samuel Thibault, 2016/01/13
- [hurd] 72/75: Drop devnode and libhurd-slab, now upstream, Samuel Thibault, 2016/01/13
- [hurd] 56/75: fix compiler warnings in hurd/nfs and hurd/nfsd, Samuel Thibault, 2016/01/13
- [hurd] 41/75: fix compiler warnings in hurd/libdiskfs, Samuel Thibault, 2016/01/13
- [hurd] 69/75: Fix O_DIRECTORY lookup on trivial translators, Samuel Thibault, 2016/01/13
- [hurd] 47/75: fix compiler warnings in hurd/libstore, Samuel Thibault, 2016/01/13
- [hurd] 50/75: fix compiler warnings in hurd/procfs, Samuel Thibault, 2016/01/13
- [hurd] 54/75: fix compiler warnings in hurd/trans,
Samuel Thibault <=
- [hurd] 58/75: Define IO_OUTTRAN so that term_on_pty returns a mach_port_t, Samuel Thibault, 2016/01/13
- [hurd] 49/75: fix compiler warnings in hurd/nfs and hurd/nfsd, Samuel Thibault, 2016/01/13
- [hurd] 35/75: fix compiler warnings in hurd/console-client, Samuel Thibault, 2016/01/13
- [hurd] 40/75: fix compiler warnings in hurd/isofs, Samuel Thibault, 2016/01/13
- [hurd] 57/75: Add missing libraries to fix link errors, Samuel Thibault, 2016/01/13
- [hurd] 52/75: fix compiler warnings in hurd/random, Samuel Thibault, 2016/01/13
- [hurd] 62/75: fix mach-defpager static linking, Samuel Thibault, 2016/01/13
- [hurd] 60/75: Drop OTHERLIBS and use LDLIBS exclusively, Samuel Thibault, 2016/01/13
- [hurd] 63/75: allow pfinet to link using -O0, Samuel Thibault, 2016/01/13
- [hurd] 55/75: fix compiler warnings in hurd/utils, Samuel Thibault, 2016/01/13