summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/unidasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/unidasm.cpp')
-rw-r--r--src/tools/unidasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/unidasm.cpp b/src/tools/unidasm.cpp
index 25e2452ac7f..73cd820c2bd 100644
--- a/src/tools/unidasm.cpp
+++ b/src/tools/unidasm.cpp
@@ -776,7 +776,7 @@ unidasm_data_buffer::unidasm_data_buffer(util::disasm_interface *_disasm, const
case -2:
lr8 = [](offs_t pc) -> u8 { abort(); };
lr16 = [](offs_t pc) -> u16 { abort(); };
- lr32 = [this](offs_t pc) -> u16 {
+ lr32 = [this](offs_t pc) -> u32 {
const u32 *p = get_ptr<u32>(pc);
return p ?
p[0]