diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-06-14 14:35:49 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-06-14 14:35:49 (GMT) |
commit | c72828ba3377a2139f36b8fdc9b0cbd5dd798712 (patch) | |
tree | 4135da978d25f22fe51772b96aa59fd350336366 | |
parent | b98a36e8f3006512f0fa4d94309fb9918eb8abdd (diff) | |
download | cpython-c72828ba3377a2139f36b8fdc9b0cbd5dd798712.zip cpython-c72828ba3377a2139f36b8fdc9b0cbd5dd798712.tar.gz cpython-c72828ba3377a2139f36b8fdc9b0cbd5dd798712.tar.bz2 |
cleanup random.c
Casting Py_ssize_t to Py_ssize_t is useless.
-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 b961020..8ce0b3e 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); } |