aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parisc/machine-create.h2
-rw-r--r--src/parisc/parisc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/parisc/machine-create.h b/src/parisc/machine-create.h
index 8b15f3a..beae3da 100644
--- a/src/parisc/machine-create.h
+++ b/src/parisc/machine-create.h
@@ -4,7 +4,7 @@ static struct machine_info CONCAT(machine_, MACHINE) = {
.pdc_version = PARISC_PDC_VERSION,
.pdc_cpuid = PARISC_PDC_CPUID,
.pdc_caps = PARISC_PDC_CAPABILITIES,
- .pdc_entry = PARISC_PDC_ENTRY_ORG,
+ .pdc_entry = (unsigned long) PARISC_PDC_ENTRY_ORG,
.pdc_cache_info = { PARISC_PDC_CACHE_INFO },
.device_list = { PARISC_DEVICE_LIST },
};
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 2157dde..25a304d 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -329,7 +329,7 @@ struct machine_info {
int pdc_version;
int pdc_cpuid;
int pdc_caps;
- int pdc_entry;
+ unsigned long pdc_entry;
unsigned long pdc_cache_info[30];
hppa_device_t device_list[MAX_DEVICES];
};