summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_prompt.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-12-22 14:32:02 +0100
committerAnatol Belski <ab@php.net>2016-12-22 14:32:02 +0100
commitafb6ca2566691a673b7e638ffd7e3181e21d80a3 (patch)
tree43ec7c52c51ac2b3245c7d2c45466a220f6908eb /sapi/phpdbg/phpdbg_prompt.c
parentce97ead3997c238f1566ee472ebc9b77e62124a5 (diff)
downloadphp-git-afb6ca2566691a673b7e638ffd7e3181e21d80a3.tar.gz
Finish remaining replacement uint => uint32_t
Tthe core should be normalized now, no uints anymore
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c6
1 files changed, 3 insertions, 3 deletions
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;