summaryrefslogtreecommitdiff
path: root/libps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-21 12:47:16 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-21 12:47:16 +0200
commita42e96e845840ff40c9c19b042743091cae0ca49 (patch)
treea35085c74183720febd22f45c58415f171b22cc5 /libps
parent1d8160dd75fc8f58d50fb3a60f18074a8fb96f57 (diff)
Fix gcc warning:
* libps/write.c (noise_write): Make `t` parameter a char * instead of unsigned char *.
Diffstat (limited to 'libps')
-rw-r--r--libps/write.c2
1 files changed, 1 insertions, 1 deletions
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;