From: Daniel Stenberg Date: Thu, 6 May 2004 07:24:47 +0000 (+0000) Subject: typecast the unsigned long to plain long to prevent compiler warnings X-Git-Tag: curl-7_12_0~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fc831f9eb906a5471222e584fc67c1590c7afc3;p=thirdparty%2Fcurl.git typecast the unsigned long to plain long to prevent compiler warnings --- diff --git a/lib/version.c b/lib/version.c index 9e553673d6..150d52b31f 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';