/[gentoo-alt]/trunk/prefix/dev-libs/openssl/files/openssl-0.9.7e-ptr-casting.patch
Gentoo

Contents of /trunk/prefix/dev-libs/openssl/files/openssl-0.9.7e-ptr-casting.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 920 - (show annotations) (download)
Tue Dec 13 20:55:14 2005 UTC (12 years, 7 months ago) by kito
File size: 440 byte(s)
drop -overlay
1 Make sure when we cast as a pointer we don't truncate.
2
3 Patch by Daniel Gryniewicz.
4
5 --- ssl/ssltest.c
6 +++ ssl/ssltest.c
7 @@ -1541,4 +1541,4 @@
8 fprintf(stderr, "Arg is: %s\n", (char *)arg);
9 - fprintf(stderr, "Finished printing do we have a context? 0x%x a cert? 0x%x\n",
10 - (unsigned int)ctx, (unsigned int)ctx->cert);
11 + fprintf(stderr, "Finished printing do we have a context? 0x%p a cert? 0x%p\n",
12 + ctx, ctx->cert);
13 if (ctx->cert)

  ViewVC Help
Powered by ViewVC 1.1.20