summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index 53c1923..63936f7 100644
--- a/misc.c
+++ b/misc.c
@@ -432,11 +432,11 @@ lindex (const char *s, const char *limit, int c)
/* Return the address of the first whitespace or null in the string S. */
char *
-end_of_token (char *s)
+end_of_token (const char *s)
{
while (*s != '\0' && !isblank ((unsigned char)*s))
++s;
- return s;
+ return (char *)s;
}
#ifdef WINDOWS32