summaryrefslogtreecommitdiff
path: root/phpdbg_bp.c
diff options
context:
space:
mode:
authorkrakjoe <joe.watkins@live.co.uk>2013-12-09 10:15:16 +0000
committerkrakjoe <joe.watkins@live.co.uk>2013-12-09 10:15:16 +0000
commitaf979393fcb50250b797b1c717fb034c61155fae (patch)
tree864fa039e38b12d07e5adc4dadddc2793388101b /phpdbg_bp.c
parent058b59bb588dd2cf5902eacebf6a0c43d784062f (diff)
downloadphp-git-af979393fcb50250b797b1c717fb034c61155fae.tar.gz
resolve all warnings
Diffstat (limited to 'phpdbg_bp.c')
-rw-r--r--phpdbg_bp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpdbg_bp.c b/phpdbg_bp.c
index fe0f8d4e4f..766761d224 100644
--- a/phpdbg_bp.c
+++ b/phpdbg_bp.c
@@ -536,8 +536,8 @@ PHPDBG_API void phpdbg_set_breakpoint_method_opline(const char *class, const cha
if (zend_hash_index_exists(method_table, opline)) {
phpdbg_notice("Breakpoint already exists for %s::%s#%ld", new_break.class_name, new_break.func_name, opline);
- efree(new_break.func_name);
- efree(new_break.class_name);
+ efree((char*)new_break.func_name);
+ efree((char*)new_break.class_name);
PHPDBG_G(bp_count)--;
return;
}
@@ -586,7 +586,7 @@ PHPDBG_API void phpdbg_set_breakpoint_function_opline(const char *function, zend
if (zend_hash_index_exists(func_table, opline)) {
phpdbg_notice("Breakpoint already exists for %s#%ld", new_break.func_name, opline);
- efree(new_break.func_name);
+ efree((char*)new_break.func_name);
PHPDBG_G(bp_count)--;
return;
}
@@ -635,7 +635,7 @@ PHPDBG_API void phpdbg_set_breakpoint_file_opline(const char *file, zend_ulong o
if (zend_hash_index_exists(file_table, opline)) {
phpdbg_notice("Breakpoint already exists for %s:%ld", new_break.class_name, opline);
- efree(new_break.class_name);
+ efree((char*)new_break.class_name);
PHPDBG_G(bp_count)--;
return;
}