summaryrefslogtreecommitdiff
path: root/lib/isc/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isc/string.c')
-rw-r--r--lib/isc/string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/isc/string.c b/lib/isc/string.c
index 56ec444bffaa..04a25943734d 100644
--- a/lib/isc/string.c
+++ b/lib/isc/string.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004-2007, 2011, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2011, 2012, 2014, 2015 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -56,14 +56,14 @@
#include <isc/string.h>
#include <isc/util.h>
-static char digits[] = "0123456789abcdefghijklmnoprstuvwxyz";
+static const char digits[] = "0123456789abcdefghijklmnoprstuvwxyz";
isc_uint64_t
isc_string_touint64(char *source, char **end, int base) {
isc_uint64_t tmp;
isc_uint64_t overflow;
char *s = source;
- char *o;
+ const char *o;
char c;
if ((base < 0) || (base == 1) || (base > 36)) {