Re: [PHP-DEV] bad pointer From: Sascha Schumann (sascha <email protected>)
Date: 11/30/99

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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>