Minor compilation fix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3782 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-09-17 00:12:15 +00:00
parent d4310e0b86
commit 38aecf4ae0
1 changed files with 2 additions and 3 deletions

View File

@ -19,7 +19,6 @@
#include "IPU/IPUdma.h" #include "IPU/IPUdma.h"
#include "mpeg2lib/Mpeg.h" #include "mpeg2lib/Mpeg.h"
__aligned16 IPU_Fifo ipu_fifo; __aligned16 IPU_Fifo ipu_fifo;
void IPU_Fifo::init() void IPU_Fifo::init()
@ -113,7 +112,7 @@ int IPU_Fifo_Output::write(const u32 *value, uint size)
do { do {
IPU0dma(); IPU0dma();
uint transsize = min(size, 8 - ipuRegs.ctrl.OFC); uint transsize = min(size, 8 - (uint)ipuRegs.ctrl.OFC);
if(!transsize) break; if(!transsize) break;
ipuRegs.ctrl.OFC = transsize; ipuRegs.ctrl.OFC = transsize;
@ -132,7 +131,7 @@ int IPU_Fifo_Output::write(const u32 *value, uint size)
#if 0 #if 0
if (ipuRegs.ctrl.OFC >= 8) IPU0dma(); if (ipuRegs.ctrl.OFC >= 8) IPU0dma();
uint transsize = min(size, 8 - ipuRegs.ctrl.OFC); uint transsize = min(size, 8 - (uint)ipuRegs.ctrl.OFC);
uint firsttrans = transsize; uint firsttrans = transsize;
while (transsize > 0) while (transsize > 0)