From feee892489d587e31a84955eb0608d98bc235513 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Mon, 16 Jun 2003 12:26:34 +0000 Subject: [PATCH] Add a newline Added cast to allow string to be used an argument for blockwrite Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1069 --- src/ints/int10_vesa.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ints/int10_vesa.cpp b/src/ints/int10_vesa.cpp index 029bcb3f..007441cb 100644 --- a/src/ints/int10_vesa.cpp +++ b/src/ints/int10_vesa.cpp @@ -88,7 +88,7 @@ Bit8u VESA_GetSVGAInformation(Bit16u seg,Bit16u off) { for (i=0;i<0x100;i++) mem_writeb(buffer+i,0); } /* Fill common data */ - MEM_BlockWrite(buffer,"VESA",4); //Identification + MEM_BlockWrite(buffer,(void *)"VESA",4); //Identification mem_writew(buffer+0x04,0x102); //Vesa version mem_writed(buffer+0x06,int10.rom.oemstring); //Oemstring mem_writed(buffer+0x0a,0x0); //Capabilities and flags @@ -294,5 +294,5 @@ void INT10_SetupVESA(void) { int10.rom.used+=len; callback.setwindow=CALLBACK_Allocate(); CALLBACK_Setup(callback.setwindow,SetWindowPositionHandler,CB_RETF); +} -} \ No newline at end of file