A new user interface for you! Read more...

File lukemftp-1.5-strict-aliasing-fix.diff of Package lukemftp

--- libedit/el.c
+++ libedit/el.c
@@ -246,17 +246,22 @@
 el_get(EditLine *el, int op, void *ret)
 {
 	int rv;
+	union {
+	  void *vret;
+	  el_pfunc_t *eret;
+	} uret = { &ret };
+
 
 	if (el == NULL || ret == NULL)
 		return (-1);
 	switch (op) {
 	case EL_PROMPT:
 	case EL_RPROMPT:
-		rv = prompt_get(el, (el_pfunc_t *) & ret, op);
+		rv = prompt_get(el, uret.eret, op);
 		break;
 
 	case EL_EDITOR:
-		rv = map_get_editor(el, (const char **) &ret);
+		rv = map_get_editor(el, uret.eret);
 		break;
 
 	case EL_SIGNAL: