summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2017-07-08 08:59:47 +0100
committer smf- <smf-@users.noreply.github.com>2017-07-08 09:00:33 +0100
commit81269d8fbfd646be1e595ecd11909818616fc49d (patch)
treefc19364e62f9fce193c91d66393e0ac930c1825d
parentede8a5b84f625ad69ebe0fa9e1ea36837ac0d0ae (diff)
fix for MSVC ostream::put takes a char & 0xff doesn't fit. (nw)
-rw-r--r--src/mame/machine/esqpanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/esqpanel.cpp b/src/mame/machine/esqpanel.cpp
index 0010a126658..00cb3999103 100644
--- a/src/mame/machine/esqpanel.cpp
+++ b/src/mame/machine/esqpanel.cpp
@@ -699,7 +699,7 @@ bool esqpanel2x40_vfx_device::write_contents(std::ostream &o)
m_vfd->write_contents(o);
for (int i = 0; i < m_light_states.size(); i++)
{
- o.put(0xff);
+ o.put(char(0xff));
o.put((m_light_states[i] << 6) | i);
}
return true;