Fix const qualifier discarded warning in parse_block().
This warning is reported by gcc 15 which defaults to the C23 standard.
The strchr() function returns a pointer into a const string, so the
receiving variable must be declared as const char *.
Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit
70379d240dcf975d140160bb4c14cf1b3fe70bcc)
struct blocked_number *blocked;
const char *name, *error_name;
long blocked_number;
- char *colon;
+ const char *colon;
bool found;
size_t i;