From b58bbc5c36ecef9ecb4be5475b987ceb7dbd4059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Wed, 10 Jun 2009 17:44:59 +0000 Subject: [PATCH] doesn't like Bit8u (char) there Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3421 --- src/hardware/sblaster.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hardware/sblaster.cpp b/src/hardware/sblaster.cpp index 7ffaa56e..7fdf8d48 100644 --- a/src/hardware/sblaster.cpp +++ b/src/hardware/sblaster.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: sblaster.cpp,v 1.75 2009-06-07 10:18:13 c2woody Exp $ */ +/* $Id: sblaster.cpp,v 1.76 2009-06-10 17:44:59 c2woody Exp $ */ #include #include @@ -1566,8 +1566,8 @@ public: // Create set blaster line ostringstream temp; temp << "SET BLASTER=A" << setw(3)<< hex << sb.hw.base - << " I" << dec << sb.hw.irq << " D"<< sb.hw.dma8; - if (sb.type==SBT_16) temp << " H" << sb.hw.dma16; + << " I" << dec << (Bitu)sb.hw.irq << " D" << (Bitu)sb.hw.dma8; + if (sb.type==SBT_16) temp << " H" << (Bitu)sb.hw.dma16; temp << " T" << static_cast(sb.type) << ends; autoexecline.Install(temp.str());