fping
fping copied to clipboard
Fixing build warning long int on seqmap.c line 84
Fixes the following build warning under ARMv6 CPU
Version: fping-5.1 CPU: ARMv6
seqmap.c: In function ‘seqmap_add’:
seqmap.c:84:96: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
ing error: not enough sequence numbers available! (expire_timeout=%ld, host_nr=%d, ping_count=%d, seqmap_next_id=%d)\n",
~~^
%lld