summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/CommandProcessor.cpp
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2010-02-24 03:38:36 +0000
committerGlenn Rice <glennricster@gmail.com>2010-02-24 03:38:36 +0000
commit1d40b8a5ae2e64ed329f66e9da059cde9baf24fc (patch)
tree1dc8c263a83789cac1a2a6999d1370438570f0cd /Source/Plugins/Plugin_VideoSoftware/Src/CommandProcessor.cpp
parent3cc5d8ce6f31ffa26f7eb3f8db9de68cca9721e2 (diff)
Systematically eliminating compiler warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5117 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/CommandProcessor.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/CommandProcessor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/CommandProcessor.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/CommandProcessor.cpp
index 3abae6da41..6e1e0a4da6 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/CommandProcessor.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/CommandProcessor.cpp
@@ -327,7 +327,7 @@ void UpdateInterruptsFromVideoPlugin(u64 userdata)
void ReadFifo()
{
- bool canRead = cpreg.readptr != cpreg.writeptr && writePos < maxCommandBufferWrite;
+ bool canRead = cpreg.readptr != cpreg.writeptr && writePos < (int)maxCommandBufferWrite;
bool atBreakpoint = AtBreakpoint();
if (canRead && !atBreakpoint)
@@ -354,7 +354,7 @@ void ReadFifo()
ptr += GATHER_PIPE_SIZE;
}
- canRead = cpreg.readptr != cpreg.writeptr && writePos < maxCommandBufferWrite;
+ canRead = cpreg.readptr != cpreg.writeptr && writePos < (int)maxCommandBufferWrite;
atBreakpoint = AtBreakpoint();
} while (canRead && !atBreakpoint);