Skip to content

Commit be40c4d

Browse files
committed
Fixup for C90 mixed declarations.
Reported-by: Jonas Nick <jonasd.nick@gmail.com>
1 parent 8b3841c commit be40c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4919,8 +4919,8 @@ int main(int argc, char **argv) {
49194919
} else {
49204920
FILE *frand = fopen("/dev/urandom", "r");
49214921
if ((frand == NULL) || fread(&seed16, 1, sizeof(seed16), frand) != sizeof(seed16)) {
4922-
fprintf(stderr, "WARNING: could not read 16 bytes from /dev/urandom; falling back to insecure PRNG\n");
49234922
uint64_t t = time(NULL) * (uint64_t)1337;
4923+
fprintf(stderr, "WARNING: could not read 16 bytes from /dev/urandom; falling back to insecure PRNG\n");
49244924
seed16[0] ^= t;
49254925
seed16[1] ^= t >> 8;
49264926
seed16[2] ^= t >> 16;

0 commit comments

Comments
 (0)