mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-11 11:33:43 +01:00
(intern_regions): Change type of "i" to be unsigned, to avoid compiler-warning.
(intern_array): Ditto. (Logical change 1.43)
This commit is contained in:
parent
6da7fc2511
commit
ef0b937c87
1 changed files with 4 additions and 4 deletions
|
@ -55,10 +55,10 @@ static int
|
|||
intern_regions (unw_addr_space_t as, unw_accessors_t *a,
|
||||
unw_word_t *addr, unw_dyn_region_info_t **regionp, void *arg)
|
||||
{
|
||||
uint32_t insn_count, op_count;
|
||||
uint32_t insn_count, op_count, i;
|
||||
unw_dyn_region_info_t *region;
|
||||
unw_word_t next_addr;
|
||||
int i, ret;
|
||||
int ret;
|
||||
|
||||
*regionp = NULL;
|
||||
|
||||
|
@ -98,8 +98,8 @@ intern_array (unw_addr_space_t as, unw_accessors_t *a,
|
|||
unw_word_t *addr, unw_word_t table_len, unw_word_t **table_data,
|
||||
void *arg)
|
||||
{
|
||||
unw_word_t *data = calloc (table_len, WSIZE);
|
||||
int ret = 0, i;
|
||||
unw_word_t i, *data = calloc (table_len, WSIZE);
|
||||
int ret = 0;
|
||||
|
||||
if (!data)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue