projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e1466df
)
mips_m4k: common_magic should be unsigned
author
Drasko DRASKOVIC
<drasko.draskovic@gmail.com>
Thu, 7 Jul 2011 14:38:38 +0000
(16:38 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 9 Aug 2011 21:17:28 +0000
(23:17 +0200)
For all architectures we use distinct common magic number,
and this should be a uint32_t type.
Otherwise, comparison with macros will yield compilation
warning.
src/target/mips_m4k.h
patch
|
blob
|
history
diff --git
a/src/target/mips_m4k.h
b/src/target/mips_m4k.h
index bb37ee2d4a063b54931cc50f13dda54d0941bc57..85d4c0a5c83666b408c49961695af1b177dab383 100644
(file)
--- a/
src/target/mips_m4k.h
+++ b/
src/target/mips_m4k.h
@@
-31,7
+31,7
@@
struct target;
struct mips_m4k_common
{
struct mips_m4k_common
{
-
in
t common_magic;
+
uint32_
t common_magic;
bool is_pic32mx;
struct mips32_common mips32;
};
bool is_pic32mx;
struct mips32_common mips32;
};