diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-03-21 14:58:40 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-21 15:02:41 +0100 |
commit | 2a5909af17324442e052d3833ac7d4ff0ab689ba (patch) | |
tree | 69e07132d7bebf56121e6a2d65a86184cacb25bc | |
parent | 6512fde74da33861591a089390201f2522978db2 (diff) | |
download | ModemManager-2a5909af17324442e052d3833ac7d4ff0ab689ba.tar.gz |
wmc: fix a typo in the test
GCC 6 notices an unused constant and errors out.
-rw-r--r-- | libwmc/tests/test-wmc-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libwmc/tests/test-wmc-utils.c b/libwmc/tests/test-wmc-utils.c index 49d7351df..93c2a6a6f 100644 --- a/libwmc/tests/test-wmc-utils.c +++ b/libwmc/tests/test-wmc-utils.c @@ -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[] = { |