From d2516343bc5c105543b22eed3b073a8a4e14a659 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 28 Feb 2005 07:48:22 +0000 Subject: * New feature: -L option * New function: $(info ...) * Disallow $(eval ...) to create prereq relationships inside command scripts (caused core dumps) * Try to allow more tests to succeed in Windows/DOS by sanitizing CRLF and \ * Various bug fixes and code cleanups (see the ChangeLog entry) --- misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc.c') 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 -- cgit v1.2.3