summaryrefslogtreecommitdiff
path: root/ucspi-tcp-0.88/stralloc_opyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'ucspi-tcp-0.88/stralloc_opyb.c')
-rw-r--r--ucspi-tcp-0.88/stralloc_opyb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucspi-tcp-0.88/stralloc_opyb.c b/ucspi-tcp-0.88/stralloc_opyb.c
index 46b99fc..593029d 100644
--- a/ucspi-tcp-0.88/stralloc_opyb.c
+++ b/ucspi-tcp-0.88/stralloc_opyb.c
@@ -1,7 +1,7 @@
#include "stralloc.h"
#include "byte.h"
-int stralloc_copyb(stralloc *sa,char *s,unsigned int n)
+int stralloc_copyb(stralloc *sa,const char *s,unsigned int n)
{
if (!stralloc_ready(sa,n + 1)) return 0;
byte_copy(sa->s,n,s);