bit string constraint checking changed
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1157 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/tests/72-same-names-OK.asn1.-P b/tests/72-same-names-OK.asn1.-P
index 5f106f8..38b1fe6 100644
--- a/tests/72-same-names-OK.asn1.-P
+++ b/tests/72-same-names-OK.asn1.-P
@@ -424,7 +424,7 @@
if(st->size > 0) {
/* Size in bits */
- size = 8 * (st->size - 1) - (st->buf[0] & 0x7);
+ size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
@@ -455,7 +455,7 @@
if(st->size > 0) {
/* Size in bits */
- size = 8 * (st->size - 1) - (st->buf[0] & 0x7);
+ size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}