Cast Removes const Qualifierhelp at ini.c:37 No properties have been set. | edit properties Jump to warning location ↓ warning details... Options .../common/ini.c while (p > s && isspace(*--p)) *p = '\0'; return s; } /* Return pointer to first non-whitespace char in given string. */ static char* lskip(const char* s) { while (*s && isspace(*s)) s++; return (char*)s; Cast Removes const Qualifier help This cast loses the const qualifier in conversion. Violation of MISRA C:2012 11.8: A cast shall not remove any const or volatile qualification from the type pointed to by a pointer. } /* Return pointer to first char c or ';' comment in given string, or pointer to null at end of string if neither found. ';' must be prefixed by a whitespace character to register as a comment. */ static char* find_char_or_comment(const char* s, char c) { int was_whitespace = 0; while (*s && *s != c && !(was_whitespace && *s == ';')) { was_whitespace = isspace(*s);