From 263af41f25779c36585d6c17668a15fa07163c4e Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Tue, 29 Dec 2015 22:36:01 +0100 Subject: fix compiler warnings in hurd/libdiskfs --- libdiskfs/boot-start.c | 4 ++-- libdiskfs/dir-chg.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libdiskfs') 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. */ -- cgit v1.2.3