commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 07/36: Fix gcc warning:


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

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit a42e96e845840ff40c9c19b042743091cae0ca49
Author: Samuel Thibault <address@hidden>
Date:   Sat Sep 21 12:47:16 2013 +0200

    Fix gcc warning:
    
    * libps/write.c (noise_write): Make `t` parameter a char * instead of
    unsigned char *.
---
 libps/write.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libps/write.c b/libps/write.c
index 83be42a..1f7f52c 100644
--- a/libps/write.c
+++ b/libps/write.c
@@ -52,7 +52,7 @@ flush (const char **beg, const char *new, FILE *s)
 /* Write T to S, up to MAX characters (unless MAX == 0), making sure not to
    write any unprintable characters.  */ 
 error_t
-noise_write (const unsigned char *t, ssize_t max, FILE *s)
+noise_write (const char *t, ssize_t max, FILE *s)
 {
   int ch;
   const char *ok = t;

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