Skip to content

Commit

Permalink
Merge branch 'xdebug_3_3'
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Aug 12, 2024
2 parents c40edc0 + ad5d739 commit be05421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/debugger/handler_dbgp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3028,7 +3028,7 @@ int xdebug_dbgp_register_eval_id(xdebug_con *context, function_stack_entry *fse)

context->eval_id_sequence++;

ei = xdcalloc(sizeof(xdebug_eval_info), 1);
ei = xdcalloc(1, sizeof(xdebug_eval_info));
ei->id = context->eval_id_sequence;
ei->contents = zend_string_copy(fse->function.include_filename);
ei->refcount = 2;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ zend_bool xdebug_zend_hash_apply_protection_end(HashTable* ht);
#endif

# define XDEBUG_MAKE_STD_ZVAL(zv) \
zv = ecalloc(sizeof(zval), 1);
zv = ecalloc(1, sizeof(zval));

# define HASH_KEY_SIZEOF(k) (sizeof(k) - 1)
# define HASH_KEY_STRLEN(k) (strlen(k))
Expand Down

0 comments on commit be05421

Please sign in to comment.