fix broken win32 code in random.c

10 jobs for 272-fix-windows-build in 8 minutes and 50 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Precheck
passed #13479
amd64 docker linux
precheck:debian:sid:amd64

00:00:11

 
  Build
passed #13480
amd64 docker linux
build:clang:debian:sid:amd64

00:02:55

passed #13482
i386 docker linux
build:clang:debian:sid:i386

00:03:14

passed #13481
amd64 docker linux
build:debian:sid:amd64

00:01:45

passed #13483
i386 docker linux
build:debian:sid:i386

00:01:48

 
  Test
passed #13487
amd64 docker linux
systemtest:debian:sid:amd64

00:05:09

passed #13488
i386 docker linux
systemtest:debian:sid:i386

00:05:23

passed #13485
amd64 docker linux
unittest:clang:debian:sid:amd64

00:04:07

passed #13484
amd64 docker linux
unittest:debian:sid:amd64

00:04:08

passed #13486
i386 docker linux
unittest:debian:sid:i386

00:04:08