From 6c6732e8cf74bf07d532101e40e3e3b5d17a1acb Mon Sep 17 00:00:00 2001 From: mooglyguy Date: Thu, 11 Oct 2018 16:40:21 +0200 Subject: ioports and output finders need initializing with an unsigned value, not an implcitly signed value. Fixes build on GCC. --- src/devices/bus/pc_kbd/pcat101.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/devices/bus/pc_kbd/pcat101.cpp b/src/devices/bus/pc_kbd/pcat101.cpp index a6e141c12e4..80eda13bcc4 100644 --- a/src/devices/bus/pc_kbd/pcat101.cpp +++ b/src/devices/bus/pc_kbd/pcat101.cpp @@ -12,7 +12,7 @@ * * Part No Layout * 1391401 US English 101-key - * + * * TODO * - matrix and mcu ports (skeleton only) */ @@ -25,10 +25,10 @@ DEFINE_DEVICE_TYPE(PC_KBD_IBM_PC_AT_101, ibm_pc_at_101_keyboard_device, "kb_pcat ROM_START(ibm_pc_at_101_keyboard) ROM_REGION(0x1000, "mcu", 0) /* - * PCB + * PCB * 1394792 K27-1 * EC 528739 4989 - * + * * MCU * ST (C)IBM 1984 * C430 28940 @@ -223,8 +223,8 @@ ibm_pc_at_101_keyboard_device::ibm_pc_at_101_keyboard_device(const machine_confi : device_t(mconfig, PC_KBD_IBM_PC_AT_101, tag, owner, clock) , device_pc_kbd_interface(mconfig, *this) , m_maincpu(*this, "mcu") - , m_column(*this, "column%02u", 0) - , m_leds(*this, "led%u", 0) + , m_column(*this, "column%02u", 0U) + , m_leds(*this, "led%u", 0U) { } -- cgit v1.2.3