On Mon, Apr 20, 2020 at 04:52:13PM +0200, Vincent wrote in <20200420145213.gb726...@zira.vinc17.org>:
Since you're interested only in a 64-bit unsigned number, this
should be:

   r = r * ((uint64_t) RAND_MAX + (uint64_t) 1) + (uint64_t) random();

Thanks, I will incorporate this in the patch!

Reply via email to