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!
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!