OSDN Git Service

[VM][I286] Fix FTBFS.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Wed, 3 Apr 2019 04:41:39 +0000 (13:41 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Wed, 3 Apr 2019 04:41:39 +0000 (13:41 +0900)
source/src/vm/i286.cpp
source/src/vm/jx/i286.cpp

index 4fdddb4..196c848 100644 (file)
@@ -265,7 +265,7 @@ uint32_t I286::get_next_pc()
 
 uint32_t I286::translate_address(int segment, uint32_t offset)
 {
-       i386_state *cpustate = (i386_state *)opaque;
+       cpu_state *cpustate = (cpu_state *)opaque;
        return cpustate->base[segment] + offset;
 }
 
index 489a6d1..19f99c2 100644 (file)
@@ -269,7 +269,7 @@ uint32_t I286::get_next_pc()
 
 uint32_t I286::translate_address(int segment, uint32_t offset)
 {
-       i386_state *cpustate = (i386_state *)opaque;
+       cpu_state *cpustate = (cpu_state *)opaque;
        return cpustate->base[segment] + offset;
 }