Commit 50a7f2a
committed
Cast away const in call to strstr()
My Linux man page says the arguments to this function should be const,
but the compiler refuses to compile it when so. Easiest to just cast
them away; the function isn't going to change them.1 parent e04163b commit 50a7f2a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
0 commit comments