mirror of
https://github.com/python/cpython.git
synced 2025-10-13 02:13:03 +00:00
cleanup random.c
Casting Py_ssize_t to Py_ssize_t is useless.
This commit is contained in:
parent
b98a36e8f3
commit
c72828ba33
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue