From 38e37f2ad471d7c1a8260e319429e17c84d7d65b Mon Sep 17 00:00:00 2001 From: smf- Date: Sun, 13 Apr 2014 17:19:57 +0000 Subject: [PATCH] visual studio fix, I'm pretty sure it has a point on this. (nw) src\mame\drivers\maygay1b.c(150) : warning C4806: '&' : unsafe operation: no value of type 'bool' promoted to type 'int' can equal the given constant --- src/mame/drivers/maygay1b.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/maygay1b.c b/src/mame/drivers/maygay1b.c index 76d40392df5..a8e87c635fd 100644 --- a/src/mame/drivers/maygay1b.c +++ b/src/mame/drivers/maygay1b.c @@ -147,9 +147,9 @@ WRITE8_MEMBER(maygay1b_state::m1_pia_porta_w) { // printf("m1_pia_porta_w %02x\n",data); - m_vfd->por(!data & 0x40); - m_vfd->data(data & 0x10); - m_vfd->sclk(data & 0x20); + m_vfd->por(!(data & 0x40)); + m_vfd->data(data & 0x10); + m_vfd->sclk(data & 0x20); } WRITE8_MEMBER(maygay1b_state::m1_pia_portb_w)