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

dnsdist arm32 build warning #7096

Closed
Habbie opened this issue Oct 23, 2018 · 2 comments
Closed

dnsdist arm32 build warning #7096

Habbie opened this issue Oct 23, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@Habbie
Copy link
Member

@Habbie Habbie commented Oct 23, 2018

dnsdist-cache.cc: In member function ‘uint64_t DNSDistPacketCache::dump(int)’:
dnsdist-cache.cc:456:269: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 9 has type ‘time_t {aka long int}’ [-Wformat=]
         fprintf(fp, "%s %" PRId64 " %s ; key %" PRIu32 ", length %" PRIu16 ", tcp %d, added %" PRIu64 "\n", value.qname.toString().c_str(), static_cast<int64_t>(value.validity - now), QType(value.qtype).getName().c_str(), entry.first, value.len, value.tcp, value.added);
@rgacogne rgacogne added this to the dnsdist-1.3.x milestone Oct 24, 2018
@chbruyand chbruyand mentioned this issue Oct 25, 2018
2 of 7 tasks complete
@chbruyand
Copy link
Member

@chbruyand chbruyand commented Oct 25, 2018

@Habbie do you still have your box anywhere so I could test the PR ?

@Habbie
Copy link
Member Author

@Habbie Habbie commented Oct 25, 2018

Box is gone but I can test this - waiting for Travis to be happy first.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.