From 800bc9308dfcae950cd95ca287876b60401e7608 Mon Sep 17 00:00:00 2001 From: Drasko DRASKOVIC Date: Thu, 7 Jul 2011 16:38:38 +0200 Subject: [PATCH] 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. --- src/target/mips_m4k.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.30.2