com php-src: fix ibase connection routine: ext/interbase/interbase.c

From: Date: Fri, 04 Mar 2016 11:26:25 +0000
Subject: com php-src: fix ibase connection routine: ext/interbase/interbase.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91277@lists.php.net to get a copy of this message
Commit: be5bbe7068ab337ead85a9fa2d414406a3d47853 Author: Anatol Belski <ab@php.net> Fri, 4 Mar 2016 12:26:25 +0100 Parents: a7028d96719fef1939eb3bf14ddb05491ef4e09f Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=be5bbe7068ab337ead85a9fa2d414406a3d47853 Log: fix ibase connection routine followup on a7028d96 Changed paths: M ext/interbase/interbase.c Diff: diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c index 3f9ac58..531019b 100644 --- a/ext/interbase/interbase.c +++ b/ext/interbase/interbase.c @@ -848,7 +848,7 @@ static char const dpb_args[] = { 0, isc_dpb_user_name, isc_dpb_password, isc_dpb_lc_ctype, isc_dpb_sql_role_name, 0 }; -int _php_ibase_attach_db(char **args, int *len, zend_long *largs, isc_db_handle *db) /* {{{ */ +int _php_ibase_attach_db(char **args, size_t *len, zend_long *largs, isc_db_handle *db) /* {{{ */ { short i, dpb_len, buf_len = 257-2; /* version byte at the front, and a null at the end */ char dpb_buffer[257] = { isc_dpb_version1, 0 }, *dpb;

« previous php.cvs (#91277) next »