Files
macports-ports/lang/php/files/patch-php80-odbc-stmt_get_col.diff
T

12 lines
449 B
Diff

--- ext/pdo_odbc/odbc_stmt.c.orig 2026-04-09 23:14:15
+++ ext/pdo_odbc/odbc_stmt.c 2026-04-09 23:14:44
@@ -646,7 +646,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];