Commit 94edc5b
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 9ca77be commit 94edc5b
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