summaryrefslogtreecommitdiff
path: root/cesar
diff options
context:
space:
mode:
authorThierry Carré2013-05-28 16:51:39 +0200
committerThierry Carré2013-06-06 13:06:19 +0200
commit4ad520d9a19b14d2a0ca884fa09af65aaf989636 (patch)
tree3c2dbbdf174e86577972956a5d2af734f827ccdb /cesar
parentfe36306f86a040d1d60b5d534f3db987a76b7ac6 (diff)
cesar/cp/av/msg/test/utest: remove warnings on compilation, refs #4008
Homeplug AV specification (11.5.7): EKS field => EKS or PEKS value depending upon Key Type The enum usage seems in order.
Diffstat (limited to 'cesar')
-rw-r--r--cesar/cp/av/msg/test/utest/src/msg_cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cesar/cp/av/msg/test/utest/src/msg_cm.c b/cesar/cp/av/msg/test/utest/src/msg_cm.c
index cce93df1ab..5ff19a5ad3 100644
--- a/cesar/cp/av/msg/test/utest/src/msg_cm.c
+++ b/cesar/cp/av/msg/test/utest/src/msg_cm.c
@@ -658,7 +658,7 @@ test_case_cm_get_key (test_t test)
CP_MSG_CM_GET_KEY_CNF_RESULT_KEY_GRANTED);
test_fail_unless (cnf.key_type == CP_MSG_KEY_HASH_KEY);
test_fail_unless (cnf.nid == nid);
- test_fail_unless (cnf.eks == CP_MME_PEKS_TEK_MAX);
+ test_fail_unless (cnf.eks == (mac_eks_t) CP_MME_PEKS_TEK_MAX);
test_fail_unless (cnf.key.key[0] == 0);
test_fail_unless (cnf.key.key[1] == 1);
test_fail_unless (cnf.key.key[2] == 2);
@@ -731,7 +731,7 @@ test_case_cm_get_key (test_t test)
CP_MSG_CM_GET_KEY_CNF_RESULT_KEY_GRANTED);
test_fail_unless (cnf.key_type == CP_MSG_KEY_NMK);
test_fail_unless (cnf.nid == nid);
- test_fail_unless (cnf.eks == CP_MME_PEKS_TEK_MIN);
+ test_fail_unless (cnf.eks == (mac_eks_t) CP_MME_PEKS_TEK_MIN);
test_fail_unless (cnf.key.key[0] == 0);
test_fail_unless (cnf.key.key[1] == 1);
test_fail_unless (cnf.key.key[2] == 2);