From: Drasko DRASKOVIC Date: Thu, 7 Jul 2011 14:38:38 +0000 (+0200) Subject: mips_m4k: common_magic should be unsigned X-Git-Tag: v0.6.0-rc1~633 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=800bc9308dfcae950cd95ca287876b60401e7608 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. --- diff --git a/src/target/mips_m4k.h b/src/target/mips_m4k.h index bb37ee2d4a..85d4c0a5c8 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; };