mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 23:08:47 +00:00
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:
parent
541a86de26
commit
e764723832
6 changed files with 10 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue