diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-06-16 21:53:47 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-06-16 21:53:47 (GMT) |
commit | ec721f3305c04b5d136e2d21cb73c5bdfdd81684 (patch) | |
tree | b931eb1fd826a80a73d27279ea4d9f2a8d095ca5 /Python/modsupport.c | |
parent | adef6460d73ce1ab33af9c9ef014aa88f23c6d62 (diff) | |
download | cpython-ec721f3305c04b5d136e2d21cb73c5bdfdd81684.zip cpython-ec721f3305c04b5d136e2d21cb73c5bdfdd81684.tar.gz cpython-ec721f3305c04b5d136e2d21cb73c5bdfdd81684.tar.bz2 |
py_getrandom(): use long type for the syscall() result
Issue #27278. It should fix a conversion warning.
In practice, the Linux kernel doesn't return more than 32 MB per call to the
getrandom() syscall.
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions