From: Victor Stinner Date: Thu, 16 Jun 2016 22:01:30 +0000 (+0200) Subject: Merge 3.5 X-Git-Tag: v3.6.0a3~133 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a63073a807d52df8d808c9409d0f284b3d61a20a;p=python Merge 3.5 --- a63073a807d52df8d808c9409d0f284b3d61a20a diff --cc Python/random.c index 8a83fe9773,3119872abd..c8e844ee67 --- a/Python/random.c +++ b/Python/random.c @@@ -132,9 -132,7 +132,9 @@@ py_getrandom(void *buffer, Py_ssize_t s * see https://bugs.python.org/issue26839. To avoid this, use the * GRND_NONBLOCK flag. */ const int flags = GRND_NONBLOCK; + + char *dest; - int n; + long n; if (!getrandom_works) return 0;