diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-06-14 16:35:49 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-06-14 16:35:49 +0200 |
commit | 2ea476f7c097d3affc80f89ad4bfa32cc765d423 (patch) | |
tree | 72bc7ab193267a9fe07065f172cbe5d3b2075d13 /Python | |
parent | 2a8684b783b2cc31e76c6929d5c263ab370aeae1 (diff) | |
download | cpython-2ea476f7c097d3affc80f89ad4bfa32cc765d423.tar.gz |
cleanup random.c
Casting Py_ssize_t to Py_ssize_t is useless.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/random.c b/Python/random.c index b9610208f6..8ce0b3edf6 100644 --- a/Python/random.c +++ b/Python/random.c @@ -251,7 +251,7 @@ dev_urandom_noraise(unsigned char *buffer, Py_ssize_t size) break; } buffer += n; - size -= (Py_ssize_t)n; + size -= n; } close(fd); } |