aboutsummaryrefslogtreecommitdiff
path: root/target-sh4/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-sh4/cpu-qom.h')
-rw-r--r--target-sh4/cpu-qom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/cpu-qom.h b/target-sh4/cpu-qom.h
index 01d16372b5..c229a9a29b 100644
--- a/target-sh4/cpu-qom.h
+++ b/target-sh4/cpu-qom.h
@@ -76,7 +76,7 @@ typedef struct SuperHCPU {
static inline SuperHCPU *sh_env_get_cpu(CPUSH4State *env)
{
- return SUPERH_CPU(container_of(env, SuperHCPU, env));
+ return container_of(env, SuperHCPU, env);
}
#define ENV_GET_CPU(e) CPU(sh_env_get_cpu(e))