summaryrefslogtreecommitdiff
path: root/ext/sybase/php_sybase_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sybase/php_sybase_db.c')
-rw-r--r--ext/sybase/php_sybase_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sybase/php_sybase_db.c b/ext/sybase/php_sybase_db.c
index 9ddff28dae..71e8a1f19c 100644
--- a/ext/sybase/php_sybase_db.c
+++ b/ext/sybase/php_sybase_db.c
@@ -621,7 +621,7 @@ PHP_FUNCTION(sybase_close)
Select Sybase database */
PHP_FUNCTION(sybase_select_db)
{
- zval *db, **sybase_link_index;
+ zval **db, **sybase_link_index;
int id,type;
sybase_link *sybase_ptr;
@@ -960,7 +960,7 @@ PHP_FUNCTION(sybase_free_result)
php_error_docref(NULL TSRMLS_CC, E_WARNING,"%d is not a Sybase result index",Z_LVAL_PP(sybase_result_index));
RETURN_FALSE;
}
- zend_list_delete(Z_LVAL_P(sybase_result_index));
+ zend_list_delete(Z_LVAL_PP(sybase_result_index));
RETURN_TRUE;
}
/* }}} */