Fixed warnings about comparison between signed and unsigned integer expressions.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@366 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-08-27 16:12:05 +00:00
parent 541a86de26
commit e764723832
6 changed files with 10 additions and 10 deletions

View file

@ -89,7 +89,7 @@ bool ChunkFile::Do(void *ptr, int size)
//let's get into the business
bool ChunkFile::Descend(const char *cid)
{
int id = *((int*)cid);
unsigned int id = *reinterpret_cast<const unsigned int*>(cid);
if (mode == MODE_READ)
{
bool found = false;
@ -100,7 +100,7 @@ bool ChunkFile::Descend(const char *cid)
stack[stack_ptr].parentStartLocation = startPos;
stack[stack_ptr].parentEOF = eof;
int firstID = 0;
unsigned int firstID = 0;
//let's search through children..
while (ftell(f) < eof)
{