From afb6ca2566691a673b7e638ffd7e3181e21d80a3 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 22 Dec 2016 14:32:02 +0100 Subject: Finish remaining replacement uint => uint32_t Tthe core should be normalized now, no uints anymore --- sapi/phpdbg/phpdbg_prompt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sapi/phpdbg/phpdbg_prompt.c') diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index ce8945ac6a..a96563352d 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -608,11 +608,11 @@ int phpdbg_compile(void) /* {{{ */ zend_hash_del(&PHPDBG_G(file_sources), PHPDBG_G(ops)->filename); PHPDBG_G(file_sources).pDestructor = dtor; - data = erealloc(data, sizeof(phpdbg_file_source) + sizeof(uint) * ++data->lines); - memmove(data->line + 1, data->line, sizeof(uint) * data->lines); + data = erealloc(data, sizeof(phpdbg_file_source) + sizeof(uint32_t) * ++data->lines); + memmove(data->line + 1, data->line, sizeof(uint32_t) * data->lines); data->line[0] = 0; data->buf = erealloc(data->buf, data->len + start_line_len); - memmove(data->buf + start_line_len, data->buf, data->len * sizeof(uint)); + memmove(data->buf + start_line_len, data->buf, data->len * sizeof(uint32_t)); memcpy(data->buf, start_line, start_line_len); efree(start_line); data->len += start_line_len; -- cgit v1.2.1