com php-src: Fix negative list offsets: phpdbg_list.c php dbg_list.h

From: Date: Fri, 17 Oct 2014 17:32:02 +0000
Subject: com php-src: Fix negative list offsets: phpdbg_list.c php dbg_list.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-82556@lists.php.net to get a copy of this message
Commit: afe01e4956f37090a52a5bebf25bf4c8b57da8c5 Author: Bob Weinand <bobwei9@hotmail.com> Fri, 17 Oct 2014 19:32:02 +0200 Parents: a80f0b982ae0d13fc3cc2ad05b5a2fea632ac331 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=afe01e4956f37090a52a5bebf25bf4c8b57da8c5 Log: Fix negative list offsets Changed paths: M phpdbg_list.c M phpdbg_list.h Diff: diff --git a/phpdbg_list.c b/phpdbg_list.c index 365c7a6..80b5d2b 100644 --- a/phpdbg_list.c +++ b/phpdbg_list.c @@ -124,7 +124,7 @@ PHPDBG_LIST(class) /* {{{ */ return SUCCESS; } /* }}} */ -void phpdbg_list_file(const char *filename, uint count, uint offset, uint highlight TSRMLS_DC) /* {{{ */ +void phpdbg_list_file(const char *filename, uint count, int offset, uint highlight TSRMLS_DC) /* {{{ */ { uint line, lastline; phpdbg_file_source **data; diff --git a/phpdbg_list.h b/phpdbg_list.h index 385ae20..c88328b 100644 --- a/phpdbg_list.h +++ b/phpdbg_list.h @@ -34,7 +34,7 @@ PHPDBG_LIST(func); void phpdbg_list_function_byname(const char *, size_t TSRMLS_DC); void phpdbg_list_function(const zend_function* TSRMLS_DC); -void phpdbg_list_file(const char*, uint, uint, uint TSRMLS_DC); +void phpdbg_list_file(const char*, uint, int, uint TSRMLS_DC); extern const phpdbg_command_t phpdbg_list_commands[];

« previous php.cvs (#82556) next »