summaryrefslogtreecommitdiff
path: root/lib/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network.c')
-rw-r--r--lib/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network.c b/lib/network.c
index d105db48..e1f733cf 100644
--- a/lib/network.c
+++ b/lib/network.c
@@ -50,7 +50,7 @@ readn (int fd, u_char *ptr, int nbytes)
/* Write nbytes from ptr to fd. */
int
-writen(int fd, u_char *ptr, int nbytes)
+writen(int fd, const u_char *ptr, int nbytes)
{
int nleft;
int nwritten;