Skip to content

kr_rand_uint: nitpicks

Vladimír Čunát requested to merge rand_uint into master
  • the returned value is up to max-1 and not max (tiny bias)
  • improve efficiency slightly
  • unsigned -> uint32_t, as that's the range it supports (mostly equal)

Merge request reports