diff options
author | Gregory P. Smith <greg@krypto.org> | 2014-01-17 20:09:05 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2014-01-17 20:09:05 (GMT) |
commit | 83fed26953bd233a6479a6742abd1f2b7e6011f5 (patch) | |
tree | 3473e0833d650f1613f3422a24fc65b88780998a /Modules/_ssl.c | |
parent | 4cfbac80bd6545ff9f8425fa30a7d25bb9ba5142 (diff) | |
parent | f34890937bd5776fb21f1f6c686e033beb9b8a5c (diff) | |
download | cpython-83fed26953bd233a6479a6742abd1f2b7e6011f5.zip cpython-83fed26953bd233a6479a6742abd1f2b7e6011f5.tar.gz cpython-83fed26953bd233a6479a6742abd1f2b7e6011f5.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 2e3c5b1..813c926 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -1381,7 +1381,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); |