From 38aecf4ae09421fd4145effa6efe86f8ace67cee Mon Sep 17 00:00:00 2001 From: arcum42 Date: Fri, 17 Sep 2010 00:12:15 +0000 Subject: [PATCH] Minor compilation fix. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3782 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/IPU/IPU_Fifo.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pcsx2/IPU/IPU_Fifo.cpp b/pcsx2/IPU/IPU_Fifo.cpp index fad0d3e266..4b749ae339 100644 --- a/pcsx2/IPU/IPU_Fifo.cpp +++ b/pcsx2/IPU/IPU_Fifo.cpp @@ -19,7 +19,6 @@ #include "IPU/IPUdma.h" #include "mpeg2lib/Mpeg.h" - __aligned16 IPU_Fifo ipu_fifo; void IPU_Fifo::init() @@ -113,7 +112,7 @@ int IPU_Fifo_Output::write(const u32 *value, uint size) do { IPU0dma(); - uint transsize = min(size, 8 - ipuRegs.ctrl.OFC); + uint transsize = min(size, 8 - (uint)ipuRegs.ctrl.OFC); if(!transsize) break; ipuRegs.ctrl.OFC = transsize; @@ -132,7 +131,7 @@ int IPU_Fifo_Output::write(const u32 *value, uint size) #if 0 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; while (transsize > 0)