1
0
Fork 0

silence some warnings, add most of sf patch #1185267 by Moe

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2883
This commit is contained in:
Sebastian Strohhäcker 2007-06-12 20:22:09 +00:00
parent 8c6d24bb61
commit 0c24e87fdc
49 changed files with 265 additions and 255 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: timer.cpp,v 1.43 2007-06-08 08:21:45 qbix79 Exp $ */
/* $Id: timer.cpp,v 1.44 2007-06-12 20:22:08 c2woody Exp $ */
#include <math.h>
#include "dosbox.h"
@ -69,7 +69,7 @@ static void PIT0_Event(Bitu /*val*/) {
if (pit[0].mode != 0) {
pit[0].start += pit[0].delay;
double error = pit[0].start - PIC_FullIndex();
PIC_AddEvent(PIT0_Event,pit[0].delay + error);
PIC_AddEvent(PIT0_Event,(float)(pit[0].delay + error));
}
}