diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-01 18:30:14 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-01 18:30:14 +0200 |
commit | 85ac912b846c8deb6b0852db3e30c45dfd16d791 (patch) | |
tree | e887e01289071b7d9e7fd33a8f24f8793ac45d17 /Python/thread.c | |
parent | c8def83e79745dbf89e286ff791454c7e63c3c2b (diff) | |
parent | 9a3a7d1676e3e162e2213ddf62c925e8d9b724af (diff) | |
download | cpython-85ac912b846c8deb6b0852db3e30c45dfd16d791.tar.gz |
Removed duplicated words in in comments and docs.
Diffstat (limited to 'Python/thread.c')
-rw-r--r-- | Python/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread.c b/Python/thread.c index 4e695aeca2..44c071eafe 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -431,7 +431,7 @@ PyThread_GetInfo(void) && defined(_CS_GNU_LIBPTHREAD_VERSION)) value = NULL; len = confstr(_CS_GNU_LIBPTHREAD_VERSION, buffer, sizeof(buffer)); - if (1 < len && len < sizeof(buffer)) { + if (1 < len && (size_t)len < sizeof(buffer)) { value = PyUnicode_DecodeFSDefaultAndSize(buffer, len-1); if (value == NULL) PyErr_Clear(); |