aboutsummaryrefslogtreecommitdiff
path: root/src/target/cortex_a.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/cortex_a.h')
-rw-r--r--src/target/cortex_a.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/cortex_a.h b/src/target/cortex_a.h
index 05c3730..656ccea 100644
--- a/src/target/cortex_a.h
+++ b/src/target/cortex_a.h
@@ -19,7 +19,7 @@
#include "armv7a.h"
-#define CORTEX_A_COMMON_MAGIC 0x411fc082
+#define CORTEX_A_COMMON_MAGIC 0x411fc082U
#define CORTEX_A5_PARTNUM 0xc05
#define CORTEX_A7_PARTNUM 0xc07
@@ -67,7 +67,7 @@ struct cortex_a_wrp {
};
struct cortex_a_common {
- int common_magic;
+ unsigned int common_magic;
/* Context information */
uint32_t cpudbg_dscr;