wmc: fix a typo in the test

GCC 6 notices an unused constant and errors out.
This commit is contained in:
Lubomir Rintel
2016-03-21 15:02:41 +01:00
committed by Aleksander Morgado
parent 6512fde74d
commit 2a5909af17
+2 -2
View File
@@ -128,8 +128,8 @@ test_utils_encapsulate_uml290_wmc1 (void *f, void *data)
memcpy (inbuf, uml290_encap_src, sizeof (uml290_encap_src));
encap_len = wmc_encapsulate (inbuf, sizeof (uml290_encap_src),
sizeof (inbuf), outbuf, sizeof (outbuf), TRUE);
g_assert (encap_len == sizeof (encap_outbuf));
g_assert (memcmp (outbuf, encap_outbuf, encap_len) == 0);
g_assert (encap_len == sizeof (uml290_encap_outbuf));
g_assert (memcmp (outbuf, uml290_encap_outbuf, encap_len) == 0);
}
static const char uml290_src[] = {