From af979393fcb50250b797b1c717fb034c61155fae Mon Sep 17 00:00:00 2001 From: krakjoe Date: Mon, 9 Dec 2013 10:15:16 +0000 Subject: resolve all warnings --- phpdbg_bp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'phpdbg_bp.c') 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; } -- cgit v1.2.1