Commit 0497c63
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 7acce59 commit 0497c63
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