diff options
author | Damien Miller <djm@mindrot.org> | 2011-01-13 21:05:27 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-01-13 21:05:27 +1100 |
commit | ff22df538ef29d0596c9bff03f3c93fcd37ffb6e (patch) | |
tree | dd718657cf143a53829b75d4c348bb3631f7a209 /entropy.c | |
parent | 9b87a5ce3ca693c257c6097fb4c6906910b1900b (diff) |
- (djm) [entropy.c] cast OPENSSL_VERSION_NUMBER to u_long to avoid
gcc warning on platforms where it defaults to int
Diffstat (limited to 'entropy.c')
-rw-r--r-- | entropy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ init_rng(void) | |||
157 | */ | 157 | */ |
158 | if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) | 158 | if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) |
159 | fatal("OpenSSL version mismatch. Built against %lx, you " | 159 | fatal("OpenSSL version mismatch. Built against %lx, you " |
160 | "have %lx", OPENSSL_VERSION_NUMBER, SSLeay()); | 160 | "have %lx", (u_long)OPENSSL_VERSION_NUMBER, SSLeay()); |
161 | 161 | ||
162 | #ifndef OPENSSL_PRNG_ONLY | 162 | #ifndef OPENSSL_PRNG_ONLY |
163 | original_uid = getuid(); | 163 | original_uid = getuid(); |