Workaround for GCC-ia64 compiler bug.
authorAndy Polyakov <appro@openssl.org>
Fri, 6 Dec 2002 17:16:25 +0000 (17:16 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 6 Dec 2002 17:16:25 +0000 (17:16 +0000)
Submitted by: <appro>
Reviewed by:
PR:

crypto/asn1/a_d2i_fp.c

index cfb56ae265a46279142ec10994c9fabba59b276d..b67b75e7c27e4ed14de233a4161af14ffcf989c9 100644 (file)
@@ -149,7 +149,12 @@ static int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb)
        ASN1_CTX c;
        int want=HEADER_SIZE;
        int eos=0;
+#if defined(__GNUC__) && defined(__ia64)
+       /* pathetic compiler bug in all known versions as of Nov. 2002 */
+       long off=0;
+#else
        int off=0;
+#endif
        int len=0;
 
        b=BUF_MEM_new();