]> granicus.if.org Git - php/commitdiff
fix ibase connection routine
authorAnatol Belski <ab@php.net>
Fri, 4 Mar 2016 11:26:25 +0000 (12:26 +0100)
committerAnatol Belski <ab@php.net>
Fri, 4 Mar 2016 11:26:25 +0000 (12:26 +0100)
followup on a7028d96

ext/interbase/interbase.c

index 3f9ac58ce181c3de89b9db59e7dc55777714d94b..531019b84181d6f766234e4a1f465ba2e16aa1e1 100644 (file)
@@ -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;