diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 12:47:16 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 12:47:16 +0200 |
commit | a42e96e845840ff40c9c19b042743091cae0ca49 (patch) | |
tree | a35085c74183720febd22f45c58415f171b22cc5 /libps | |
parent | 1d8160dd75fc8f58d50fb3a60f18074a8fb96f57 (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.c | 2 |
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; |