Skip to content
Snippets Groups Projects
Commit a6ac22af authored by Martine Lenders's avatar Martine Lenders
Browse files

tests: fix gnrc_ndp tests for new alignment

parent acfe57a5
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,9 @@ static void set_up(void)
static void fill_pktbuf(void)
{
gnrc_pktsnip_t *pkt = gnrc_pktbuf_add(NULL, NULL,
GNRC_PKTBUF_SIZE - sizeof(gnrc_pktsnip_t),
/* 24 = sizeof(gnrc_pktsnip_t) +
* potential alignment */
GNRC_PKTBUF_SIZE - 24U,
GNRC_NETTYPE_UNDEF);
TEST_ASSERT_NOT_NULL(pkt);
TEST_ASSERT(gnrc_pktbuf_is_sane());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment