aboutsummaryrefslogtreecommitdiff
path: root/target-openrisc/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-openrisc/cpu.h')
-rw-r--r--target-openrisc/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-openrisc/cpu.h b/target-openrisc/cpu.h
index 4b63f25804..ed818af0cf 100644
--- a/target-openrisc/cpu.h
+++ b/target-openrisc/cpu.h
@@ -392,7 +392,7 @@ int cpu_openrisc_get_phys_data(OpenRISCCPU *cpu,
static inline void cpu_get_tb_cpu_state(CPUOpenRISCState *env,
target_ulong *pc,
- target_ulong *cs_base, int *flags)
+ target_ulong *cs_base, uint32_t *flags)
{
*pc = env->pc;
*cs_base = 0;