summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/qx10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/qx10.cpp')
-rw-r--r--src/mame/drivers/qx10.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/qx10.cpp b/src/mame/drivers/qx10.cpp
index 78a11534e6f..3d660ecf7b8 100644
--- a/src/mame/drivers/qx10.cpp
+++ b/src/mame/drivers/qx10.cpp
@@ -580,7 +580,7 @@ void qx10_state::qx10_io(address_map &map)
{
if(newval && !oldval)
{
- m_keyb.rx = (uint8_t)(uintptr_t)(param) & 0x7f;
+ m_keyb.rx = uint8_t(param & 0x7f);
m_pic_m->ir4_w(1);
}