// cerr<<"Got it"<<endl;
if (wildcardname.countLabels())
rr.qname = qname;
- rr.d_place = (DNSResourceRecord::Place)signPlace;
+ rr.d_place = static_cast<DNSResourceRecord::Place>(signPlace);
rr.ttl = signTTL;
rrsigs.push_back(rr);
}
else
rr.ttl=signTTL;
rr.auth=false;
- rr.d_place = (DNSResourceRecord::Place) signPlace;
+ rr.d_place = static_cast<DNSResourceRecord::Place> (signPlace);
BOOST_FOREACH(RRSIGRecordContent& rrc, rrcs) {
rr.content = rrc.getZoneRepresentation();
outsigned.push_back(rr);
else
signTTL = pos->ttl;
origTTL = pos->ttl;
- signPlace = (DNSPacketWriter::Place) pos->d_place;
+ signPlace = static_cast<DNSPacketWriter::Place>(pos->d_place);
if(pos->auth || pos->qtype.getCode() == QType::DS) {
string content = pos->content;
if(!pos->content.empty() && pos->qtype.getCode()==QType::TXT && pos->content[0]!='"') {