From 5c26302fc2f49b9f566ce96b5c09c9ae25a5b799 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Fri, 10 Sep 2004 22:09:54 +0000 Subject: [PATCH] Fix a warning Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1967 --- 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 1acf9f76..6bcb87b9 100644 --- a/src/ints/int10_vesa.cpp +++ b/src/ints/int10_vesa.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: int10_vesa.cpp,v 1.11 2004-08-04 09:12:56 qbix79 Exp $ */ +/* $Id: int10_vesa.cpp,v 1.12 2004-09-10 22:09:54 harekiet Exp $ */ #include #include @@ -299,7 +299,7 @@ Bit8u VESA_GetDisplayStart(Bit16u & x,Bit16u & y) { static Bitu SetWindowPositionHandler(void) { if (reg_bh) reg_ah=VESA_GetCPUWindow(reg_bl,reg_dx); - else reg_ah=VESA_SetCPUWindow(reg_bl,reg_dx); + else reg_ah=VESA_SetCPUWindow(reg_bl,(Bit8u)reg_dx); reg_al=0x4f; return 0; }