aboutsummaryrefslogtreecommitdiff
path: root/src/target/mips_m4k.h
diff options
context:
space:
mode:
authorDrasko DRASKOVIC <drasko.draskovic@gmail.com>2011-07-07 16:38:38 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-08-09 23:17:28 +0200
commit800bc9308dfcae950cd95ca287876b60401e7608 (patch)
treebdf335e0e8b6d17cc21075c8869d112631e4c5b1 /src/target/mips_m4k.h
parente1466df54d8ddd6800f8df2f9e0d2f1dd646cb20 (diff)
downloadriscv-openocd-800bc9308dfcae950cd95ca287876b60401e7608.zip
riscv-openocd-800bc9308dfcae950cd95ca287876b60401e7608.tar.gz
riscv-openocd-800bc9308dfcae950cd95ca287876b60401e7608.tar.bz2
mips_m4k: common_magic should be unsigned
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.
Diffstat (limited to 'src/target/mips_m4k.h')
-rw-r--r--src/target/mips_m4k.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/mips_m4k.h b/src/target/mips_m4k.h
index bb37ee2..85d4c0a 100644
--- a/src/target/mips_m4k.h
+++ b/src/target/mips_m4k.h
@@ -31,7 +31,7 @@ struct target;
struct mips_m4k_common
{
- int common_magic;
+ uint32_t common_magic;
bool is_pic32mx;
struct mips32_common mips32;
};