mirror of https://github.com/OISF/suricata
detect/app-layer-protocol: fix compile warning
detect-app-layer-protocol.c:160:11: error: initializing 'char *' with an expression of type 'const char *' discards qualifiers
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
160 | char *sep = strchr(arg, ',');
| ^ ~~~~~~~~~~~~~~~~
1 error generated.
(cherry picked from commit 3564f2f928)
pull/15343/head
parent
b08996771e
commit
16d227b620
Loading…
Reference in New Issue