Commit e3131b8d authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Make sure the storage for isc_random32() result is 32-bit long

parent 21a547c1
Pipeline #3472 passed with stages
in 8 minutes and 21 seconds
......@@ -416,7 +416,8 @@ towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name,
}
INSIST(i == count);
unsigned int j, seed;
unsigned int j;
isc_uint32_t seed;
if (ISC_LIKELY(want_random)) {
seed = isc_random32();
j = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment