mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 01:59:02 +00:00
Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
70bc8167f8
commit
8f98f0b778
35 changed files with 123 additions and 102 deletions
|
@ -172,7 +172,7 @@ public:
|
|||
}
|
||||
|
||||
// get size
|
||||
int sz = FileSize - sizeof(SChunkHeader);
|
||||
int sz = (int)(FileSize - sizeof(SChunkHeader));
|
||||
if (Header.ExpectedSize != sz)
|
||||
{
|
||||
fclose(pFile);
|
||||
|
@ -213,7 +213,7 @@ public:
|
|||
SChunkHeader Header;
|
||||
Header.Compress = 0;
|
||||
Header.Revision = _Revision;
|
||||
Header.ExpectedSize = sz;
|
||||
Header.ExpectedSize = (int)sz;
|
||||
|
||||
fwrite(&Header, sizeof(SChunkHeader), 1, pFile);
|
||||
fwrite(buffer, sz, 1, pFile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue