From c72828ba3377a2139f36b8fdc9b0cbd5dd798712 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 14 Jun 2016 16:35:49 +0200 Subject: cleanup random.c Casting Py_ssize_t to Py_ssize_t is useless. --- Python/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v0.12