$OpenBSD: patch-lib_charset-conv_c,v 1.1 2008/12/01 16:09:01 ajacoutot Exp $ --- lib/charset-conv.c.orig Mon Dec 1 14:44:42 2008 +++ lib/charset-conv.c Mon Dec 1 14:48:34 2008 @@ -230,7 +230,7 @@ gftp_filename_from_utf8 (gftp_request * request, const #else char * -gftp_string_to_utf8 (gftp_request * request, const char *str, size_t dest_len) +gftp_string_to_utf8 (gftp_request * request, const char *str, size_t *dest_len) { return (NULL); } @@ -238,22 +238,22 @@ gftp_string_to_utf8 (gftp_request * request, const cha char * gftp_string_from_utf8 (gftp_request * request, int force_local, const char *str, - size_t dest_len) + size_t *dest_len) { return (NULL); } char * -gftp_filename_to_utf8 (gftp_request * request, const char *str, size_t dest_len) +gftp_filename_to_utf8 (gftp_request * request, const char *str, size_t *dest_len) { return (NULL); } char * -gftp_filename_from_utf8 (gftp_request * request, int force_local, - const char *str, size_t dest_len) +gftp_filename_from_utf8 (gftp_request * request, const char *str, + size_t *dest_len) { return (NULL); }