Commit 9042f1c
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 25cb44f commit 9042f1c
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