diff options
author | Juan Quintela <quintela@redhat.com> | 2009-09-29 22:48:22 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-05 09:32:37 -0500 |
commit | a62794ed61c2bedd55cb9805aa1258588daf2f1c (patch) | |
tree | eeba5e21d01737d1261dc96e129a7608455e8687 /exec.c | |
parent | 527b784eba1eda074fb3e5169ec06f2c4ba8867f (diff) | |
download | qemu-a62794ed61c2bedd55cb9805aa1258588daf2f1c.tar.gz qemu-a62794ed61c2bedd55cb9805aa1258588daf2f1c.tar.bz2 qemu-a62794ed61c2bedd55cb9805aa1258588daf2f1c.zip |
vmstate: remove const from pre_save() functions
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -513,9 +513,9 @@ void cpu_exec_init_all(unsigned long tb_size) #if defined(CPU_SAVE_VERSION) && !defined(CONFIG_USER_ONLY) -static void cpu_common_pre_save(const void *opaque) +static void cpu_common_pre_save(void *opaque) { - CPUState *env = (void *)opaque; + CPUState *env = opaque; cpu_synchronize_state(env); } |