From 0bcd459300d80e2d4787836eb3cb32ca1761ae38 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 13 Mar 2006 22:56:20 +0000 Subject: - bug #36625 fix --- ext/pgsql/pgsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pgsql/pgsql.c') diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 2617d711c7..60cd217757 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2360,7 +2360,7 @@ PHP_FUNCTION(pg_trace) RETURN_FALSE; } - if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)fp, REPORT_ERRORS)) { + if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) { php_stream_close(stream); RETURN_FALSE; } -- cgit v1.2.1