]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4027] use a single underscore version of uint8_t for consistency
authorJINMEI Tatuya <jinmei@wide.ad.jp>
Sat, 31 Oct 2015 09:47:03 +0000 (18:47 +0900)
committerJINMEI Tatuya <jinmei@wide.ad.jp>
Sat, 31 Oct 2015 09:47:03 +0000 (18:47 +0900)
(and perhaps the double-underscore version is non-standard)

src/lib/dhcp/tests/pkt4o6_unittest.cc

index 4d178b1530a47d7a3755c8d11651ca44a0de71e7..b6897b9c012e6d5fd001bcb4237d3b79f0ca6a26 100644 (file)
@@ -86,7 +86,7 @@ TEST_F(Pkt4o6Test, pack) {
 
     // Check the DHCPv4 message option content (Pkt4o6 class is not responsible
     // 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());
     EXPECT_EQ(0, cp[4]);
     EXPECT_EQ(D6O_DHCPV4_MSG, cp[5]);