aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-06 07:24:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-06 07:24:47 +0000
commit3fc831f9eb906a5471222e584fc67c1590c7afc3 (patch)
treed1aa6243fc855b58b39e3767708fee2d4b544945
parent9f660862ecab9b0bbec0048f67fc5e60348e9b3f (diff)
typecast the unsigned long to plain long to prevent compiler warnings
-rw-r--r--lib/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/version.c b/lib/version.c
index 9e553673d..150d52b31 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -47,7 +47,7 @@ static void getssl_version(char *ptr, long *num)
unsigned long ssleay_value;
sub[1]='\0';
ssleay_value=SSLeay();
- *num = ssleay_value;
+ *num = (long)ssleay_value;
if(ssleay_value < 0x906000) {
ssleay_value=SSLEAY_VERSION_NUMBER;
sub[0]='\0';