Browse Source

z/OS support: uint

Spell uint out as unsigned int, otherwise z/OS doesn't understand it.
pull/10/head
David Lanzendörfer 4 years ago
parent
commit
250c02a189
  1. 4
      src/std_utils.cc

4
src/std_utils.cc

@ -351,9 +351,9 @@ namespace pEp {
unsigned g_seed = gen_seed();
std::mt19937 gen{ g_seed };
uint gen_seed()
unsigned int gen_seed()
{
uint ret{};
unsigned int ret{};
if (std::random_device{}.entropy() > 0) {
ret = std::random_device{}();
} else {

Loading…
Cancel
Save