components/lftp/patches/lftp_ssl.patch
author Huie-Ying Lee <huieying.lee@oracle.com>
Tue, 18 Nov 2014 15:59:35 -0800
changeset 2215 b580479fe1e7
parent 236 b8597a028a7a
permissions -rw-r--r--
18491957 problem in UTILITY/OPENSSH

--- src/lftp_ssl.cc.old	Tue Mar  4 04:55:14 2008
+++ src/lftp_ssl.cc	Tue Mar  4 04:55:42 2008
@@ -95,7 +95,7 @@
 
 static void munmap_file(gnutls_datum_t data)
 {
-    munmap(data.data, data.size);
+    munmap((char*)data.data, data.size);
 }
 
 #if LFTP_LIBGNUTLS_VERSION_CODE < 0x010201