diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2015-12-29 22:36:01 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-12-29 22:42:17 +0100 |
commit | 263af41f25779c36585d6c17668a15fa07163c4e (patch) | |
tree | 3d758782a37eafac78e85e49ab8c41d8f6beb3e1 | |
parent | 8b87e8c44466f6852c9544c908edef8075757dda (diff) |
fix compiler warnings in hurd/libdiskfs
-rw-r--r-- | libdiskfs/boot-start.c | 4 | ||||
-rw-r--r-- | libdiskfs/dir-chg.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c index 731d8c6d..60bf33dd 100644 --- a/libdiskfs/boot-start.c +++ b/libdiskfs/boot-start.c @@ -228,8 +228,8 @@ diskfs_start_bootstrap () } lookup_init: - err = dir_lookup (root_pt, initname, O_READ, 0, - &retry, pathbuf, &startup_pt); + err = dir_lookup (root_pt, (char *) initname, O_READ, 0, &retry, pathbuf, + &startup_pt); init_lookups++; if (err) { diff --git a/libdiskfs/dir-chg.c b/libdiskfs/dir-chg.c index ed8f40c1..0657c45b 100644 --- a/libdiskfs/dir-chg.c +++ b/libdiskfs/dir-chg.c @@ -68,7 +68,7 @@ diskfs_notice_dirchange (struct node *dp, enum dir_changed_type type, while (*preq) { struct modreq *req = *preq; - err = dir_changed (req->port, dp->dirmod_tick, type, name); + err = dir_changed (req->port, dp->dirmod_tick, type, (char *) name); if (err && err != MACH_SEND_TIMED_OUT) { /* Remove notify port. */ |