1
0
Fork 0

fix some msvc64bit warnings

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3217
This commit is contained in:
Sebastian Strohhäcker 2008-09-07 10:55:16 +00:00
parent a94ef4eddc
commit c994a9a25e
23 changed files with 145 additions and 128 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2002-2007 The DOSBox Team
* Copyright (C) 2002-2008 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -16,6 +16,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: render_simple.h,v 1.6 2008-09-07 10:55:15 c2woody Exp $ */
#if defined (SCALERLINEAR)
static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) {
#else
@ -91,7 +93,7 @@ static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) {
}
#if defined(SCALERLINEAR)
#if (SCALERHEIGHT > 1)
Bitu copyLen = (Bit8u*)line1 - (Bit8u*)WC[0];
Bitu copyLen = (Bitu)((Bit8u*)line1 - (Bit8u*)WC[0]);
BituMove(((Bit8u*)line0)-copyLen+render.scale.outPitch ,WC[0], copyLen );
#endif
#if (SCALERHEIGHT > 2)