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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c72828ba3377a2139f36b8fdc9b0cbd5dd798712;p=thirdparty%2FPython%2Fcpython.git cleanup random.c Casting Py_ssize_t to Py_ssize_t is useless. --- diff --git a/Python/random.c b/Python/random.c index b9610208f669..8ce0b3edf67d 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); }