mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
typecast the unsigned long to plain long to prevent compiler warnings
This commit is contained in:
parent
9f660862ec
commit
3fc831f9eb
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user