cast to avoid type warning in error message
This commit is contained in:
parent
5abfb15ced
commit
4a984fd342
|
@ -110,8 +110,8 @@ _rs_stir(void)
|
||||||
|
|
||||||
#ifdef WITH_OPENSSL
|
#ifdef WITH_OPENSSL
|
||||||
if (RAND_bytes(rnd, sizeof(rnd)) <= 0)
|
if (RAND_bytes(rnd, sizeof(rnd)) <= 0)
|
||||||
fatal("Couldn't obtain random bytes (error %ld)",
|
fatal("Couldn't obtain random bytes (error 0x%lx)",
|
||||||
ERR_get_error());
|
(unsigned long)ERR_get_error());
|
||||||
#else
|
#else
|
||||||
getrnd(rnd, sizeof(rnd));
|
getrnd(rnd, sizeof(rnd));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue