commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 41/75: fix compiler warnings in hurd/libdiskfs


From: Samuel Thibault
Subject: [hurd] 41/75: fix compiler warnings in hurd/libdiskfs
Date: Thu, 14 Jan 2016 01:04:09 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch dde
in repository hurd.

commit 263af41f25779c36585d6c17668a15fa07163c4e
Author: Flavio Cruz <address@hidden>
Date:   Tue Dec 29 22:36:01 2015 +0100

    fix compiler warnings in hurd/libdiskfs
---
 libdiskfs/boot-start.c | 4 ++--
 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 731d8c6..60bf33d 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 ed8f40c..0657c45 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.  */

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]