summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--props.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/props.c b/props.c
index 380c6d0..73b465c 100644
--- a/props.c
+++ b/props.c
@@ -48,11 +48,11 @@ in this Software without prior written authorization from The Open Group.
#include "fstobdf.h"
static char *
-AddQuotes(unsigned char *string, unsigned int length)
+AddQuotes(const unsigned char *string, unsigned int length)
{
static unsigned char new[256] = "\"";
unsigned char *cp;
- unsigned char *end;
+ const unsigned char *end;
end = string + length;
for (cp = &new[1]; string < end; cp++, string++) {