From a42e96e845840ff40c9c19b042743091cae0ca49 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 21 Sep 2013 12:47:16 +0200 Subject: 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(-) (limited to 'libps') diff --git a/libps/write.c b/libps/write.c index 83be42ab..1f7f52cc 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; -- cgit v1.2.3