From ad66b2bf133cc6ffb218e3c00e3c97c7740136af Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Thu, 30 Aug 2012 21:57:28 +0200 Subject: [PATCH] Don't mark arrays as const since they are modified by the test --- test/unit/dhcp/test_dhcp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/dhcp/test_dhcp.c b/test/unit/dhcp/test_dhcp.c index 4b40de89..8addfa14 100644 --- a/test/unit/dhcp/test_dhcp.c +++ b/test/unit/dhcp/test_dhcp.c @@ -557,7 +557,7 @@ END_TEST */ START_TEST(test_dhcp_relayed) { - const u8_t relay_offer[] = { + u8_t relay_offer[] = { 0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d, 0x00, 0x22, 0x93, 0x5a, 0xf7, 0x60, 0x08, 0x00, 0x45, 0x00, @@ -602,7 +602,7 @@ START_TEST(test_dhcp_relayed) 0x04, 0x0a, 0xb5, 0x04, 0x01, 0xff }; - const u8_t relay_ack1[] = { + u8_t relay_ack1[] = { 0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d, 0x00, 0x22, 0x93, 0x5a, 0xf7, 0x60, 0x08, 0x00, 0x45, 0x00, 0x01, 0x38, 0xfd, 0x55, 0x00, 0x00, 0x40, 0x11, @@ -646,7 +646,7 @@ START_TEST(test_dhcp_relayed) 0x04, 0x0a, 0xb5, 0x04, 0x01, 0xff }; - const u8_t relay_ack2[] = { + u8_t relay_ack2[] = { 0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d, 0x00, 0x22, 0x93, 0x5a, 0xf7, 0x60, 0x08, 0x00, 0x45, 0x00,