We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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-lua-inspection.cc: In function ‘LuaArray<std::vector<boost::variant<std::__cxx11::basic_string<char>, double> > > getGenResponses(uint64_t, boost::optional<int>, std::function<bool(const Rings::Response&)>)’: dnsdist-lua-inspection.cc:82:27: warning: narrowing conversion of ‘(count ++)’ from ‘uint64_t’ {aka ‘long unsigned int’} to ‘int’ [-Wnarrowing] 82 | ret.push_back({count++, {rc.second.toString(), rc.first, 100.0*rc.first/total}}); | ~~~~~^~ dnsdist-lua-inspection.cc:87:20: warning: narrowing conversion of ‘count’ from ‘uint64_t’ {aka ‘long unsigned int’} to ‘int’ [-Wnarrowing] 87 | ret.push_back({count, {"Rest", rest, 100.0*rest/total}}); | ^~~~~ dnsdist-lua-inspection.cc:90:20: warning: narrowing conversion of ‘count’ from ‘uint64_t’ {aka ‘long unsigned int’} to ‘int’ [-Wnarrowing] 90 | ret.push_back({count, {"Rest", rest, 100.0 }}); | ^~~~~ CXX dnsdist-protobuf.o dnsdist-rings.cc: In member function ‘std::unordered_map<int, std::vector<boost::variant<std::__cxx11::basic_string<char>, double> > > Rings::getTopBandwidth(unsigned int)’: dnsdist-rings.cc:120:24: warning: narrowing conversion of ‘(count ++)’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] 120 | ret.insert({count++, {rc.second.toString(), rc.first, 100.0*rc.first/total}}); | ~~~~~^~ dnsdist-rings.cc:125:17: warning: narrowing conversion of ‘count’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] 125 | ret.insert({count, {"Rest", rest, 100.0*rest/total}}); | ^~~~~ dnsdist-rings.cc:128:17: warning: narrowing conversion of ‘count’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] 128 | ret.insert({count, {"Rest", rest, 100.0 }});
The text was updated successfully, but these errors were encountered:
dnsdist: remove implicit type conversion (fix: PowerDNS#11619 )
a9454af
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
26594af
Successfully merging a pull request may close this issue.
Short description
The text was updated successfully, but these errors were encountered: