]> granicus.if.org Git - python/commit
py_getrandom(): use char* instead of void* for the destination
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 8 Jun 2016 08:16:50 +0000 (10:16 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 8 Jun 2016 08:16:50 +0000 (10:16 +0200)
commitcfb1961f6127ddc6e1b8920d4f125142bace2dac
tree7b2c29a79df6043be8b9545693eaa63f8674d1a4
parent24a72ca2391bcd3b951675d279763ac8bb78c98e
py_getrandom(): use char* instead of void* for the destination

Fix a "gcc -pedantic" warning on "buffer += n" because buffer type is void*.
Python/random.c