summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 0a811a8..c74b824 100644
--- a/util.c
+++ b/util.c
@@ -50,7 +50,7 @@ void err(char *format, ...) {
}
#endif
-char *stringcopy(char *s, int len) {
+char *stringcopy(const char *s, int len) {
char *r;
if (!len)
len = strlen(s);