summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pc_fdc.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-04 15:03:26 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-04 15:03:26 +0100
commit3e5898124eed429a3929989c0d83fbce7c1818c2 (patch)
tree062ce3bfae3fb1249fc85ac515ff2126e87cc7c0 /src/devices/machine/pc_fdc.cpp
parentda227a7a4277413b77ca5dc6a2cf9c1dbce3ae97 (diff)
some core c++11 narrowing fixes (nw)
Diffstat (limited to 'src/devices/machine/pc_fdc.cpp')
-rw-r--r--src/devices/machine/pc_fdc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/pc_fdc.cpp b/src/devices/machine/pc_fdc.cpp
index 691e68cdfd8..d72db5a0c45 100644
--- a/src/devices/machine/pc_fdc.cpp
+++ b/src/devices/machine/pc_fdc.cpp
@@ -78,7 +78,7 @@ void pc_fdc_family_device::device_start()
drq_cb.resolve();
for(int i=0; i<4; i++) {
- char name[2] = {'0'+i, 0};
+ char name[2] = {static_cast<char>('0'+i), 0};
floppy_connector *conn = subdevice<floppy_connector>(name);
floppy[i] = conn ? conn->get_device() : nullptr;
}