Browse Source

[1470] Correct data type of variable

Stephen Morris 13 years ago
parent
commit
b5f53a5099
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/tests/message_unittest.cc

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

@@ -207,7 +207,7 @@ TEST_F(MessageTest, fromWireWithTSIG) {
     EXPECT_THROW(message_render.getTSIGRecord(), InvalidMessageOperation);
     EXPECT_THROW(message_render.getTSIGRecord(), InvalidMessageOperation);
 
 
     factoryFromFile(message_parse, "message_toWire2.wire");
     factoryFromFile(message_parse, "message_toWire2.wire");
-    const char expected_mac[] = {
+    const uint8_t expected_mac[] = {
         0x22, 0x70, 0x26, 0xad, 0x29, 0x7b, 0xee, 0xe7,
         0x22, 0x70, 0x26, 0xad, 0x29, 0x7b, 0xee, 0xe7,
         0x21, 0xce, 0x6c, 0x6f, 0xff, 0x1e, 0x9e, 0xf3
         0x21, 0xce, 0x6c, 0x6f, 0xff, 0x1e, 0x9e, 0xf3
     };
     };