aboutsummaryrefslogtreecommitdiff
path: root/src/target/x86_32_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/x86_32_common.h')
-rw-r--r--src/target/x86_32_common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/target/x86_32_common.h b/src/target/x86_32_common.h
index 4f90ab4..7392447 100644
--- a/src/target/x86_32_common.h
+++ b/src/target/x86_32_common.h
@@ -148,7 +148,7 @@ enum {
PMCR,
};
-#define X86_32_COMMON_MAGIC 0x86328632
+#define X86_32_COMMON_MAGIC 0x86328632U
enum {
/* memory read/write */
@@ -200,7 +200,8 @@ struct swbp_mem_patch {
#define NUM_PM_REGS 18 /* regs used in save/restore */
struct x86_32_common {
- uint32_t common_magic;
+ unsigned int common_magic;
+
void *arch_info;
enum x86_core_type core_type;
struct reg_cache *cache;