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/19-param-OK.asn1.-P b/tests/19-param-OK.asn1.-P
index 5f21cd4..a7f8e7b 100644
--- a/tests/19-param-OK.asn1.-P
+++ b/tests/19-param-OK.asn1.-P
@@ -46,7 +46,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;
 	}