com php-src: Pssst, compiler!: phpdbg_bp.c phpdbg_cmd .c

From: Date: Sun, 08 Dec 2013 21:11:50 +0000
Subject: com php-src: Pssst, compiler!: phpdbg_bp.c phpdbg_cmd .c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75271@lists.php.net to get a copy of this message
Commit: b35f6ee7234af7a4872b434875de8d761b09ebe9 Author: Bob Weinand <bobwei9@hotmail.com> Sun, 8 Dec 2013 22:11:50 +0100 Parents: 71ae30f1b8fc208f807cd8ffe0de457086cac7b5 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b35f6ee7234af7a4872b434875de8d761b09ebe9 Log: Pssst, compiler! Changed paths: M phpdbg_bp.c M phpdbg_cmd.c Diff: diff --git a/phpdbg_bp.c b/phpdbg_bp.c index 3c0f198..50580a5 100644 --- a/phpdbg_bp.c +++ b/phpdbg_bp.c @@ -601,7 +601,7 @@ static inline zend_bool phpdbg_find_breakpoint_param(phpdbg_param_t *param, zend } break; case FILE_PARAM: { - if ((param->file.line == zend_get_executed_lineno(TSRMLS_C))) { + if (param->file.line == zend_get_executed_lineno(TSRMLS_C)) { const char *str = zend_get_executed_filename(TSRMLS_C); size_t lengths[2] = {strlen(param->file.name), strlen(str)}; @@ -640,7 +640,7 @@ static inline zend_bool phpdbg_find_breakpoint_param(phpdbg_param_t *param, zend } break; case ADDR_PARAM: { - return ((phpdbg_opline_ptr_t)execute_data->opline == param->addr); + return ((zend_ulong)(phpdbg_opline_ptr_t)execute_data->opline == param->addr); } break; case NUMERIC_PARAM: diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c index 543c01c..d48624a 100644 --- a/phpdbg_cmd.c +++ b/phpdbg_cmd.c @@ -147,7 +147,7 @@ PHPDBG_API char* phpdbg_param_tostring(const phpdbg_param_t *param, char **point case FILE_PARAM: asprintf(pointer, - "%s:%u", + "%s:%lu", param->file.name, param->file.line); break;

« previous php.cvs (#75271) next »