diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-06-14 14:36:00 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-06-14 14:36:00 (GMT) |
commit | d017176209d8317be1548e3775019149526324cb (patch) | |
tree | bc7ed79c441c9b4552765dad724215877940b7a9 /Python/random.c | |
parent | 370f5136d4c82778eabd9d808f6e73f6b9a8fad4 (diff) | |
parent | c72828ba3377a2139f36b8fdc9b0cbd5dd798712 (diff) | |
download | cpython-d017176209d8317be1548e3775019149526324cb.zip cpython-d017176209d8317be1548e3775019149526324cb.tar.gz cpython-d017176209d8317be1548e3775019149526324cb.tar.bz2 |
Merge 3.5
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 cbdebbe..8a83fe9 100644 --- a/Python/random.c +++ b/Python/random.c @@ -254,7 +254,7 @@ dev_urandom_noraise(unsigned char *buffer, Py_ssize_t size) break; } buffer += n; - size -= (Py_ssize_t)n; + size -= n; } close(fd); } |