Some more prototype fixes.
[openssl.git] / crypto / asn1 / tasn_utl.c
index 2e18f9f3f5832d9c3d019810dc99aea2c61d0e04..8996ce8c13d287d57b4112bf15bdfb6a7e5154c0 100644 (file)
@@ -209,7 +209,7 @@ const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int
        if(!(tt->flags & ASN1_TFLG_ADB_MASK)) return tt;
 
        /* Else ANY DEFINED BY ... get the table */
-       adb = tt->item;
+       adb = ASN1_ADB_ptr(tt->item);
 
        /* Get the selector field */
        sfld = offset2ptr(*pval, adb->offset);