Commit 27645ba
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 cgoing to change them.1 parent ba7460e commit 27645ba
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