[issue27278] py_getrandom() uses an int for syscall() result

STINNER Victor report at bugs.python.org
Tue Jun 14 10:37:47 EDT 2016


STINNER Victor added the comment:

Martin: What do you think of my change? Is it enough? Or would you prefer an explicit cast on syscall() result?

I hesitated to use a wider type since the manual page shows an "int" type, not long.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27278>
_______________________________________


More information about the Python-bugs-list mailing list