summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pc100.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pc100.cpp')
-rw-r--r--src/mame/drivers/pc100.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/pc100.cpp b/src/mame/drivers/pc100.cpp
index c4c446ed822..ef3e1c2aa31 100644
--- a/src/mame/drivers/pc100.cpp
+++ b/src/mame/drivers/pc100.cpp
@@ -364,7 +364,7 @@ INPUT_CHANGED_MEMBER(pc100_state::key_stroke)
{
if(newval != oldval)
{
- m_key = ((uint8_t)(uintptr_t)(param) & 0xff);
+ m_key = uint8_t(param & 0xff);
if(!((newval ^ oldval) & newval))
m_key |= 0x80;
m_pic->ir3_w(1);