UBsan fix for RNG
Add an explicit cast to uint32_t in inl_erand48() to silence a runtime error from the undefined behaviour sanitizer.
Fixes #606 (closed).
I am getting fed up with UBsan reporting this continuously and hence generating too much noise.
Edited by Matthieu Schaller
Merge request reports
Activity
Please register or sign in to reply