fping icon indicating copy to clipboard operation
fping copied to clipboard

Fixing build warning long int on seqmap.c line 84

Open gsnw opened this issue 3 years ago • 1 comments

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

gsnw avatar Jul 24 '22 08:07 gsnw

Coverage Status

Coverage decreased (-6.6%) to 72.015% when pulling 204cd657392b1d1a3fe7b6786733f6f5aa149524 on gsnw:buildwarn/seqmap-c_84-96 into 5d3eee1105e2559419a3820bb71d66fc44a2de55 on schweikert:develop.

coveralls avatar Jul 24 '22 09:07 coveralls