From: Victor Stinner Date: Tue, 14 Jun 2016 14:35:49 +0000 (+0200) Subject: cleanup random.c X-Git-Tag: v3.6.0a3~146^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c72828ba3377a2139f36b8fdc9b0cbd5dd798712;p=python cleanup random.c Casting Py_ssize_t to Py_ssize_t is useless. --- 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); }