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 | c72828ba3377a2139f36b8fdc9b0cbd5dd798712 (patch) | |
tree | 4135da978d25f22fe51772b96aa59fd350336366 /Python/random.c | |
parent | b98a36e8f3006512f0fa4d94309fb9918eb8abdd (diff) | |
download | cpython-git-c72828ba3377a2139f36b8fdc9b0cbd5dd798712.tar.gz |
cleanup random.c
Casting Py_ssize_t to Py_ssize_t is useless.
Diffstat (limited to 'Python/random.c')
-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); } |