--- ext/pdo_odbc/odbc_stmt.c.orig 2026-04-09 23:19:55 +++ ext/pdo_odbc/odbc_stmt.c 2026-04-09 23:21:18 @@ -648,7 +648,7 @@ return 1; } -static int odbc_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, zend_ulong *len, int *caller_frees) +static int odbc_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, size_t *len, int *caller_frees) { pdo_odbc_stmt *S = (pdo_odbc_stmt*)stmt->driver_data; pdo_odbc_column *C = &S->cols[colno];