Skip to content
Snippets Groups Projects
Commit 33323ac7 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Bug 6164 - Allow ast_skip_blanks on const strings without spewing warning

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent d4ee9cb1
No related branches found
No related tags found
No related merge requests found
......@@ -42,11 +42,11 @@ static force_inline int ast_strlen_zero(const char *s)
\return a pointer to the first non-whitespace character
*/
AST_INLINE_API(
char *ast_skip_blanks(char *str),
char *ast_skip_blanks(const char *str),
{
while (*str && *str < 33)
str++;
return str;
return (char *)str;
}
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment