Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing build warning long int on seqmap.c line 84 #258

Merged
merged 1 commit into from
Aug 27, 2023

Conversation

gsnw
Copy link
Contributor

@gsnw gsnw commented Jul 24, 2022

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

@coveralls
Copy link

Coverage Status

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants