diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-15 15:36:28 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-15 15:36:28 +0000 |
commit | ea0f37fc764addc24c1ee70ed6fa827a9b183966 (patch) | |
tree | 350defafb02ac2a4ab2c0859b34f587413c10342 | |
parent | fdf0768d4ecf47d8e99e8d71898a5e17555d5564 (diff) | |
download | php-git-ea0f37fc764addc24c1ee70ed6fa827a9b183966.tar.gz |
Build fixes.
-rw-r--r-- | ext/interbase/interbase.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c index 4183d033e3..3b314e657c 100644 --- a/ext/interbase/interbase.c +++ b/ext/interbase/interbase.c @@ -229,10 +229,10 @@ typedef struct { #define GET_BLOB_HANDLE_ARG(blob_arg, blob_ptr) \ { \ int type; \ - convert_to_long(blob_arg); \ - blob_ptr = (ibase_blob_handle *) zend_list_find(Z_LVAL_P(blob_arg), &type); \ + convert_to_long_ex(blob_arg); \ + blob_ptr = (ibase_blob_handle *) zend_list_find(Z_LVAL_PP(blob_arg), &type); \ if (type!=le_blob) { \ - _php_ibase_module_error("%d is not blob handle", Z_LVAL_P(blob_arg)); \ + _php_ibase_module_error("%d is not blob handle", Z_LVAL_PP(blob_arg)); \ RETURN_FALSE; \ } \ } @@ -2630,7 +2630,7 @@ PHP_FUNCTION(ibase_blob_add) WRONG_PARAM_COUNT; } - GET_BLOB_HANDLE_ARG(*blob_arg, ib_blob); + GET_BLOB_HANDLE_ARG(blob_arg, ib_blob); convert_to_string_ex(string_arg); @@ -2661,7 +2661,7 @@ PHP_FUNCTION(ibase_blob_get) convert_to_long_ex(len_arg); max_len = (unsigned short) Z_LVAL_PP(len_arg); - GET_BLOB_HANDLE_ARG(*blob_arg, ib_blob); + GET_BLOB_HANDLE_ARG(blob_arg, ib_blob); if (ib_blob->bl_qd.gds_quad_high || ib_blob->bl_qd.gds_quad_low) { /*not null ?*/ @@ -2706,7 +2706,7 @@ static void _php_ibase_blob_end(INTERNAL_FUNCTION_PARAMETERS, int bl_end) WRONG_PARAM_COUNT; } - GET_BLOB_HANDLE_ARG(*blob_arg, ib_blob); + GET_BLOB_HANDLE_ARG(blob_arg, ib_blob); if (bl_end == BLOB_CLOSE) { /* return id here */ if (ib_blob->bl_qd.gds_quad_high || ib_blob->bl_qd.gds_quad_low) { /*not null ?*/ |