]> granicus.if.org Git - python/commit
_ssl_: Fix compiler warning (#3559)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 14 Sep 2017 08:10:30 +0000 (01:10 -0700)
committerChristian Heimes <christian@python.org>
Thu, 14 Sep 2017 08:10:30 +0000 (10:10 +0200)
commit5a61559fb0776a9a0f08294ec9003cea13940430
treec76e9b309957db45ac046a6d15c38bd2e6c068d9
parentdae0276bb6bc7281d59fb0b8f1aab31634ee80dc
_ssl_: Fix compiler warning (#3559)

Cast Py_buffer.len (Py_ssize_t, signed) to size_t (unsigned) to
prevent the following warning:

Modules/_ssl.c:3089:21: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
Modules/_ssl.c