diff options
author | Gregory P. Smith <greg@krypto.org> | 2014-01-17 20:08:49 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2014-01-17 20:08:49 (GMT) |
commit | f34890937bd5776fb21f1f6c686e033beb9b8a5c (patch) | |
tree | 430a74b65e7b955fde35cede3b92de46e1874ce3 /Modules/_ssl.c | |
parent | 1093bf2c7fd070eaed7314456c0c06703f6f0f39 (diff) | |
download | cpython-f34890937bd5776fb21f1f6c686e033beb9b8a5c.zip cpython-f34890937bd5776fb21f1f6c686e033beb9b8a5c.tar.gz cpython-f34890937bd5776fb21f1f6c686e033beb9b8a5c.tar.bz2 |
avoid a compiler warning about assigning const char * to char *.
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 c34b200..499e8ba 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -1167,7 +1167,7 @@ static PyObject *PySSL_cipher (PySSLSocket *self) { goto fail0; PyTuple_SET_ITEM(retval, 0, v); } - cipher_protocol = SSL_CIPHER_get_version(current); + cipher_protocol = (char *) SSL_CIPHER_get_version(current); if (cipher_protocol == NULL) { Py_INCREF(Py_None); PyTuple_SET_ITEM(retval, 1, Py_None); |