Skip to content

Commit

Permalink
- User proper macros as suggested by Marc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfn committed Jun 18, 2002
1 parent 7cefd2f commit 416c02f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/dbx/dbx_sybasect.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ int dbx_sybasect_getcolumnname(zval **rv, zval **result_handle, long column_inde
FREE_ZVAL(zval_column_index);
return 0;
}
if (zend_hash_find(returned_zval->value.obj.properties, "name", 5, (void **) &zv_name)==FAILURE) {
if (zend_hash_find(Z_OBJPROP_P(returned_zval), "name", 5, (void **) &zv_name)==FAILURE) {
zval_ptr_dtor(&returned_zval);
FREE_ZVAL(zval_column_index);
return 0;
Expand Down Expand Up @@ -223,7 +223,7 @@ int dbx_sybasect_getcolumntype(zval **rv, zval **result_handle, long column_inde
FREE_ZVAL(zval_column_index);
return 0;
}
if (zend_hash_find(returned_zval->value.obj.properties, "type", 5, (void **) &zv_type)==FAILURE) {
if (zend_hash_find(Z_OBJPROP_P(returned_zval), "type", 5, (void **) &zv_type)==FAILURE) {
zval_ptr_dtor(&returned_zval);
FREE_ZVAL(zval_column_index);
return 0;
Expand Down

0 comments on commit 416c02f

Please sign in to comment.