]> granicus.if.org Git - curl/commitdiff
typecast the unsigned long to plain long to prevent compiler warnings
authorDaniel Stenberg <daniel@haxx.se>
Thu, 6 May 2004 07:24:47 +0000 (07:24 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 May 2004 07:24:47 +0000 (07:24 +0000)
lib/version.c

index 9e553673d6be125bcd5644b89ae4132bbc28114f..150d52b31faa869276be31c43b54e8c55a7f73df 100644 (file)
@@ -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';