mirror of https://github.com/OISF/suricata
sysfs: fix minor compile warning
Seen in Debian QA on mipsel. util-sysfs.c: In function ‘SysFsWriteValue’: util-sysfs.c:50:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=] 50 | snprintf(sentence, sizeof(sentence), "%ld", value); | ~~^ ~~~~~ | | | | | int64_t {aka long long int} | long int | %lldpull/9288/head
parent
1b08c561f6
commit
b1535fe1f9
Loading…
Reference in New Issue