Browse Source

cleanup: construct RRType from integer when possible.

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1708 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
3e235c59c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/tests/rdata_unittest.cc

+ 1 - 1
src/lib/dns/tests/rdata_unittest.cc

@@ -100,7 +100,7 @@ const uint8_t wiredata_unknown[] = { 0xa1, 0xb2, 0xc3, 0x0d };
 // "Unknown" RR Type used for the test cases below.  If/when we use this
 // type number as a "well-known" (probably experimental) type, we'll need to
 // renumber it.
-const RRType unknown_rrtype = RRType("TYPE65000");
+const RRType unknown_rrtype = RRType(65000);
 
 TEST_F(Rdata_Unknown_Test, createFromText)
 {