Re: bad pointer
| From: | Sascha Schumann | Date: | Wed, 01 Dec 1999 01:54:19 +0000 |
| Subject: | Re: bad pointer | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13320@lists.php.net to get a copy of this message | ||
On Tue, Nov 30, 1999 at 08:48:47PM -0500, Shane Caraveo wrote:
>
> Someone commited in the last 24 hours a change that causes a compile
> warning:
>
> main.c
> e:\src\phpcvs\php4\main.c(897) : warning C4113: 'struct _iobuf *(__cdecl
> *)(const char *,char ** )' differs in parameter lists from 'struct
> _iobuf *(__cdecl *)(const char *)'
You probably need to update your libzend checkout.
Line 897 refers to the fopen_function field of
zend_utility_functions. This was changed recently to
FILE *(*fopen_function)(const char *filename, char **opened_path);
PHP assigns php_fopen_wrapper_for_zend to that field:
FILE *php_fopen_wrapper_for_zend(const char *filename, char **opened_path);
This looks ok to me.
--
Regards,
Sascha Schumann
Consultant