diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-03-02 14:42:21 +0100 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-03-06 22:49:16 +0100 |
commit | bebcdcc74573b015c22238dbc9b2698c88b7a601 (patch) | |
tree | b5e09615cbb36749b45789107899a931ed989274 /sapi/phpdbg/phpdbg_cmd.c | |
parent | 8c62c69265817bfd736ac77745cf7686a48d280c (diff) | |
download | php-git-bebcdcc74573b015c22238dbc9b2698c88b7a601.tar.gz |
Remove legacy AC_CHECK_TYPE calls for uint and ulong
The AC_CHECK_TYPE was refactored in more recent versions of Autoconf
and the call with two arguments is obsolete and not recommended anymore.
This patch also refactors some leftovers of using ulong and uint which
are not standard nor common usages of types in C.
The ulong can be used as zend_ulong and uint usage is actually
`unsigned int`.
The usage of HAVE_ULONG removed since it is not used in current code
base.
Legacy edgecase for some legacy HPUX systems removed:
- sys/stream.h header is not checked and the HAVE_SYS_STREAM_H is
not defined with current build system.
- flags are unsigned int
- max_allowed_packet changed to unsigned int
Diffstat (limited to 'sapi/phpdbg/phpdbg_cmd.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_cmd.c b/sapi/phpdbg/phpdbg_cmd.c index de06992226..0357b63bda 100644 --- a/sapi/phpdbg/phpdbg_cmd.c +++ b/sapi/phpdbg/phpdbg_cmd.c @@ -573,7 +573,7 @@ PHPDBG_API const phpdbg_command_t *phpdbg_stack_resolve(const phpdbg_command_t * const phpdbg_command_t *command = commands; phpdbg_param_t *name = *top; const phpdbg_command_t *matched[3] = {NULL, NULL, NULL}; - ulong matches = 0L; + zend_ulong matches = 0L; while (command && command->name && command->handler) { if (name->len == 1 || command->name_len >= name->len) { |