projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78b7a57
)
mips32: -Wshadow warning fixes
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 21:24:47 +0000
(23:24 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 21:24:47 +0000
(23:24 +0200)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/mips32.c
patch
|
blob
|
history
diff --git
a/src/target/mips32.c
b/src/target/mips32.c
index 0923a79293c28db7b7b164b72e52f6455498e0be..2547b011a9914354283b825bd878886362136b97 100644
(file)
--- a/
src/target/mips32.c
+++ b/
src/target/mips32.c
@@
-388,7
+388,7
@@
int mips32_run_algorithm(struct target *target, int num_mem_params,
}
/* refresh core register cache */
- for (
unsigned
i = 0; i < MIPS32NUMCOREREGS; i++)
+ for (i = 0; i < MIPS32NUMCOREREGS; i++)
{
if (!mips32->core_cache->reg_list[i].valid)
mips32->read_core_reg(target, i);
@@
-404,7
+404,7
@@
int mips32_run_algorithm(struct target *target, int num_mem_params,
}
}
- for (i
nt i
= 0; i < num_reg_params; i++)
+ for (i = 0; i < num_reg_params; i++)
{
struct reg *reg = register_get_by_name(mips32->core_cache, reg_params[i].reg_name, 0);