commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 19/36: Fix gcc warning


From: Samuel Thibault
Subject: [hurd] 19/36: Fix gcc warning
Date: Tue, 24 Sep 2013 12:31:16 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 07cb61069ee68d3191fc6067947082b15c4408ca
Author: Samuel Thibault <address@hidden>
Date:   Sat Sep 21 13:50:34 2013 +0200

    Fix gcc warning
    
    * isofs/lookup.c (dirscanblock): Cast entry->name into const char * before
    passing to isonamematch.
---
 isofs/lookup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/isofs/lookup.c b/isofs/lookup.c
index 2ff3049..b5b814d 100644
--- a/isofs/lookup.c
+++ b/isofs/lookup.c
@@ -184,7 +184,7 @@ dirscanblock (void *blkaddr, const char *name, size_t 
namelen,
        break;
 
       /* Check to see if the name matches the directory entry. */
-      if (isonamematch (entry->name, entry_namelen, name, namelen))
+      if (isonamematch ((const char *) entry->name, entry_namelen, name, 
namelen))
        matchnormal = 1;
       else
        matchnormal = 0;

-- 
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]