From 1aa0ad3be814911418eb79ac5309e69f964e673d Mon Sep 17 00:00:00 2001 From: couriersud Date: Thu, 26 Mar 2015 22:41:25 +0100 Subject: [PATCH] Fix compile. (nw) --- src/emu/machine/corvushd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/machine/corvushd.c b/src/emu/machine/corvushd.c index 7d450e3fcaf..1d540d43b8f 100644 --- a/src/emu/machine/corvushd.c +++ b/src/emu/machine/corvushd.c @@ -692,7 +692,7 @@ UINT8 corvus_hdc_t::corvus_get_drive_parameters(UINT8 drv) { // This firmware string and revision were taken from the Corvus firmware // file CORVB184.CLR found on the SSE SoftBox distribution disk. - strcpy((char *) m_buffer.drive_param_response.firmware_desc, "V18.4 -- CONST II - 11/82 "); + strncpy((char *) m_buffer.drive_param_response.firmware_desc, "V18.4 -- CONST II - 11/82 ", sizeof(m_buffer.drive_param_response.firmware_desc)); m_buffer.drive_param_response.firmware_rev = 37; // Controller ROM version