fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmocore/+/35679?usp=email )
Change subject: tests/a5: fix bit-wise vs logical and in test_a53()
......................................................................
tests/a5: fix bit-wise vs logical and in test_a53()
This fixes a -Wbitwise-instead-of-logical warning thrown by clang.
Change-Id: I6ae0d13882ab7a6b1ca35ccd7f9a5e1d9cac911d
---
M tests/a5/a5_test.c
1 file changed, 12 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/79/35679/1
diff --git a/tests/a5/a5_test.c b/tests/a5/a5_test.c
index 69f1035..c6a7540 100644
--- a/tests/a5/a5_test.c
+++ b/tests/a5/a5_test.c
@@ -66,7 +66,7 @@
_a5_3(key, count, dlout, NULL, false);
_a5_3(key, count, NULL, ulout, false);
- return print_a5(3, 8, "DL", dlout, block1) & print_a5(3, 8,
"UL", ulout, block2);
+ return print_a5(3, 8, "DL", dlout, block1) && print_a5(3, 8,
"UL", ulout, block2);
}
static inline bool test_a54(const char * kc, uint32_t count, const char * block1, const
char * block2)
--
To view, visit
https://gerrit.osmocom.org/c/libosmocore/+/35679?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I6ae0d13882ab7a6b1ca35ccd7f9a5e1d9cac911d
Gerrit-Change-Number: 35679
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange