Re: [PHP-DEV] PDO & size_t

2015-01-26 Thread Matteo Beccati
On 26/01/2015 03:42, Xinchen Hui wrote: On Mon, Jan 26, 2015 at 8:43 AM, Stanislav Malyshev wrote: With recent moving of string lengths to size_t, it looks like PDO APIs weren't updated. I.e.: typedef int (*pdo_stmt_get_col_data_func)(pdo_stmt_t *stmt, int colno, char **ptr, zend_ulong *len, i

Re: [PHP-DEV] PDO & size_t

2015-01-25 Thread Xinchen Hui
Hey: On Mon, Jan 26, 2015 at 8:43 AM, Stanislav Malyshev wrote: > Hi! > > With recent moving of string lengths to size_t, it looks like PDO APIs > weren't updated. I.e.: > > typedef int (*pdo_stmt_get_col_data_func)(pdo_stmt_t *stmt, int colno, > char **ptr, zend_ulong *len, int *caller_frees); >