Skip to content

Commit f3d29af

Browse files
committed
Add cast.
1 parent b33448c commit f3d29af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cups/rand.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ cupsGetRand(void)
5151

5252
// Try getting random data from the TLS library...
5353
# ifdef HAVE_OPENSSL
54-
if (RAND_bytes(&i, (int)sizeof(i)) > 0)
54+
if (RAND_bytes((unsigned char *)&i, (int)sizeof(i)) > 0)
5555
return (i);
5656

5757
# else

0 commit comments

Comments
 (0)