diff options
author | Jeffrey Yasskin <jyasskin@gmail.com> | 2009-05-29 03:44:31 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@gmail.com> | 2009-05-29 03:44:31 +0000 |
commit | 7937d939b1e41e869ebd6a41787c186482f5950f (patch) | |
tree | 4dbf1908e42190ac3d3f877d55453f8d8f189477 /Modules/_ssl.c | |
parent | 822b87f276d11cbe0d45f91cbeb9e9abdf231c7e (diff) | |
download | cpython-git-7937d939b1e41e869ebd6a41787c186482f5950f.tar.gz |
Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-g
-Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without.
There's still a batch of non-prototype warnings in Xlib.h that I don't know how
to fix.
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 4b0958a6bb..643693eecb 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -667,7 +667,7 @@ _get_peer_alt_names (X509 *certificate) { char buf[2048]; char *vptr; int len; - const unsigned char *p; + unsigned char *p; if (certificate == NULL) return peer_alt_names; |