Browse Source

[4027] use a single underscore version of uint8_t for consistency

(and perhaps the double-underscore version is non-standard)
JINMEI Tatuya 9 years ago
parent
commit
1084fad953
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dhcp/tests/pkt4o6_unittest.cc

+ 1 - 1
src/lib/dhcp/tests/pkt4o6_unittest.cc

@@ -86,7 +86,7 @@ TEST_F(Pkt4o6Test, pack) {
 
 
     // Check the DHCPv4 message option content (Pkt4o6 class is not responsible
     // Check the DHCPv4 message option content (Pkt4o6 class is not responsible
     // for making it valid, so we won't examine it)
     // for making it valid, so we won't examine it)
-    const u_int8_t* cp = static_cast<const u_int8_t*>(
+    const uint8_t* cp = static_cast<const uint8_t*>(
         pkt4o6.getPkt6()->getBuffer().getData());
         pkt4o6.getPkt6()->getBuffer().getData());
     EXPECT_EQ(0, cp[4]);
     EXPECT_EQ(0, cp[4]);
     EXPECT_EQ(D6O_DHCPV4_MSG, cp[5]);
     EXPECT_EQ(D6O_DHCPV4_MSG, cp[5]);