diff options
Diffstat (limited to 'lib/mangle.c')
-rw-r--r-- | lib/mangle.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/mangle.c b/lib/mangle.c index 398323a37..17ca80951 100644 --- a/lib/mangle.c +++ b/lib/mangle.c @@ -69,20 +69,20 @@ void unmangle_to_buffer(const char *s, char *buf, size_t len) *buf = '\0'; } -static inline const char *skip_nonspaces(const char *s) +static inline char *skip_nonspaces(const char *s) { while (*s && !(*s == ' ' || *s == '\t')) s++; - return s; + return (char *) s; } /* * Returns mallocated buffer or NULL in case of error. */ -char *unmangle(const char *s, const char **end) +char *unmangle(const char *s, char **end) { char *buf; - const char *e; + char *e; size_t sz; if (!s) |