X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2ap%2Flib%2Fasn_random_fill.c;h=819cf700ecc63254d2063af92e5a071d860899f8;hb=refs%2Fchanges%2F62%2F9762%2F1;hp=eb8ed8fc552d0cf295d1f7978ac3f5ef643f38eb;hpb=727cefb2889f78571bfc655359e03bf20227381c;p=ric-app%2Frc.git diff --git a/e2ap/lib/asn_random_fill.c b/e2ap/lib/asn_random_fill.c index eb8ed8f..819cf70 100644 --- a/e2ap/lib/asn_random_fill.c +++ b/e2ap/lib/asn_random_fill.c @@ -48,11 +48,7 @@ asn_random_between(intmax_t lb, intmax_t rb) { for(; got_entropy < range;) { got_entropy = (got_entropy << 24) | 0xffffff; -#ifdef WIN32 //MCHECK - value = (value << 24) | (rand() % 0xffffff); -#else value = (value << 24) | (random() % 0xffffff); -#endif } return lb + (intmax_t)(value % (range + 1));