projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target/dsp563xx: fix scan-build warning
[fw/openocd]
/
src
/
target
/
dsp563xx.c
diff --git
a/src/target/dsp563xx.c
b/src/target/dsp563xx.c
index 3702cfb4ce75cb7282ef25ad9e7cf1d073a69c4f..36ee8537135f5574ae6cbf0a30e3124220641794 100644
(file)
--- a/
src/target/dsp563xx.c
+++ b/
src/target/dsp563xx.c
@@
-2140,7
+2140,7
@@
COMMAND_HANDLER(dsp563xx_mem_command)
COMMAND_PARSE_NUMBER(u32, CMD_ARGV[1], count);
}
- buffer = calloc(count,
sizeof(uint32_t)
);
+ buffer = calloc(count,
4
);
if (read_mem == 1) {
err = dsp563xx_read_memory(target, mem_type, address, sizeof(uint32_t),