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

fping-5.1 build warning: seqmap.c:84:96: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ #2

Closed
gsnw opened this issue Feb 8, 2022 · 1 comment

Comments

@gsnw
Copy link
Collaborator

gsnw commented Feb 8, 2022

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
Copy link
Collaborator Author

gsnw commented Jul 31, 2022

Done with commit 204cd65 and pull request schweikert#258

@gsnw gsnw closed this as completed Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

0 participants