From 767d29bc54c16826459e5b9a205765d9ccb32d8c Mon Sep 17 00:00:00 2001 From: naddy Date: Wed, 17 Jul 2002 22:41:44 +0000 Subject: [PATCH] sync function prototype with definition (size_t is not the same as unsigned int on 64-bit archs) --- www/php4/core/patches/patch-ext_iconv_iconv_c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 www/php4/core/patches/patch-ext_iconv_iconv_c diff --git a/www/php4/core/patches/patch-ext_iconv_iconv_c b/www/php4/core/patches/patch-ext_iconv_iconv_c new file mode 100644 index 00000000000..70c9670c670 --- /dev/null +++ b/www/php4/core/patches/patch-ext_iconv_iconv_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-ext_iconv_iconv_c,v 1.1 2002/07/17 22:41:44 naddy Exp $ +--- ext/iconv/iconv.c.orig Thu Jul 18 00:01:35 2002 ++++ ext/iconv/iconv.c Thu Jul 18 00:01:59 2002 +@@ -87,7 +87,7 @@ ZEND_DECLARE_MODULE_GLOBALS(iconv) + ZEND_GET_MODULE(iconv) + #endif + +-static int php_iconv_string(const char * in_str, unsigned int in_len, char ** out_str, unsigned int * out_len, const char * in_encoding, const char * out_encoding, int *err TSRMLS_DC); ++static int php_iconv_string(const char * in_str, size_t in_len, char ** out_str, size_t * out_len, const char * in_encoding, const char * out_encoding, int *err TSRMLS_DC); + + /* {{{ PHP_INI + */