summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/md4330b.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/md4330b.cpp')
-rw-r--r--src/devices/video/md4330b.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/md4330b.cpp b/src/devices/video/md4330b.cpp
index de3b2e49c4a..6889cc2e3b6 100644
--- a/src/devices/video/md4330b.cpp
+++ b/src/devices/video/md4330b.cpp
@@ -75,7 +75,7 @@ void md4330b_device::update_q()
u32 out = m_shift;
if (m_tc)
out = ~out;
- out &= (1 << m_qmax) - 1;
+ out &= (u64(1) << m_qmax) - 1;
m_write_q(0, out);
}