We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6131956 commit 0334ac5Copy full SHA for 0334ac5
2 files changed
src/lib/dns/rdata.cc
@@ -333,7 +333,7 @@ Generic::toText() const {
333
ostringstream oss;
334
335
oss << "\\# " << impl_->data_.size() << " ";
336
- (void)oss.fill('0');
+ static_cast<void>(oss.fill('0'));
337
oss << right << hex;
338
for_each(impl_->data_.begin(), impl_->data_.end(), UnknownRdataDumper(oss));
339
src/lib/dns/tests/rdata_unittest.cc
@@ -256,7 +256,7 @@ Rdata_Unknown_Test::getLongestRdataTxt() {
256
257
258
oss << "\\# " << MAX_RDLENGTH << " ";
259
260
261
for (unsigned i = 0; i < MAX_RDLENGTH; i++) {
262
oss << setw(2) << (i & 0xff);
0 commit comments