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
Milestone

Comments

@Habbie
Copy link
Member

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);
@chbruyand
Copy link
Member

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

@Habbie
Copy link
Member Author

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
Development

No branches or pull requests

3 participants