From 250c02a1892f65e4fa281a08a4f3f5cac09d75cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Lanzend=C3=B6rfer?= Date: Sat, 25 Dec 2021 02:47:56 +0000 Subject: [PATCH] z/OS support: uint Spell uint out as unsigned int, otherwise z/OS doesn't understand it. --- src/std_utils.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/std_utils.cc b/src/std_utils.cc index d4a44d6..2ba98a1 100644 --- a/src/std_utils.cc +++ b/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 {