1
0
Fork 0

Cast some Bit8u string to char

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1205
This commit is contained in:
Sjoerd van der Berg 2003-08-24 14:46:21 +00:00
parent ad6ba002e1
commit 67e1e4d00f

View file

@ -2767,7 +2767,7 @@ Bitu DPMI::API_Int21_MSDOS(void)
case 0x40: {/* WRITE Write to file or device */
Bit16u towrite = Mask(reg_ecx);
MEM_BlockRead(SegPhys(ds)+Mask(reg_edx),dos_copybuf,towrite);
if (reg_bx>=5) LOG(LOG_MISC,LOG_ERROR)("INT 21 40: %s",dos_copybuf);
if (reg_bx>=5) LOG(LOG_MISC,LOG_ERROR)("INT 21 40: %s",(char *)dos_copybuf);
if (DOS_WriteFile(reg_bx,dos_copybuf,&towrite)) {
reg_eax=towrite;
DPMI_CALLBACK_SCF(false);