Skip to content

Fix cast-qual warning in ketopt.h#140

Open
galaxy001 wants to merge 1 commit into
attractivechaos:masterfrom
galaxy001:galaxy001-patch-1
Open

Fix cast-qual warning in ketopt.h#140
galaxy001 wants to merge 1 commit into
attractivechaos:masterfrom
galaxy001:galaxy001-patch-1

Conversation

@galaxy001
Copy link
Copy Markdown

klib/ketopt.h:99:14: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
   99 |   p = strchr((char*)ostr, opt);
      |              ^

```
klib/ketopt.h:99:14: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
   99 |   p = strchr((char*)ostr, opt);
      |              ^
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant