]> granicus.if.org Git - python/commit
[3.6] _ssl_: Fix compiler warning (GH-3559) (#3569)
authorChristian Heimes <christian@python.org>
Thu, 14 Sep 2017 09:15:07 +0000 (11:15 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2017 09:15:07 +0000 (11:15 +0200)
commit472cc9f366ef16cab72eed21bdc6a24f194fc03a
tree1ce9e1442e2c46b84690354a975d903040120682
parent5dbb28ececdd0382d85b164aaf37bec1ae08036c
[3.6] _ssl_: Fix compiler warning (GH-3559) (#3569)

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].
(cherry picked from commit 5a61559fb0776a9a0f08294ec9003cea13940430)
Modules/_ssl.c