diff options
| author | j4ck.fr0st <j4ck.fr0st@gmail.com> | 2010-12-29 13:05:42 +0000 |
|---|---|---|
| committer | j4ck.fr0st <j4ck.fr0st@gmail.com> | 2010-12-29 13:05:42 +0000 |
| commit | 603c99f64f3fd91bebe18cea0061bcbd22df7b8d (patch) | |
| tree | 2a6059b0dd8e79ab4e7f839da10f9a6ca7764b43 /Source/Core | |
| parent | 24eafcb342b1620733224f75df4e0dacabb8fc4a (diff) | |
Compile fix for Unittests.
A lot of tests are failing right now, not sure yet if this is caused by the recent reg changes or other stuff (at least broken according to tests: iar, subarn, addarn, 'ir, 'nr, 'l, 's, 'sn, 'ln, 'lsn, 'lsm, 'lsnm, 'sl etc - err, most/all that use increase/decrease)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6683 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp index 3af918cacc..39059ffc4f 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp @@ -240,7 +240,7 @@ bool CWII_IPC_HLE_Device_FileIO::IOCtl(u32 _CommandAddress) { case ISFS_IOCTL_GETFILESTATS: { - m_FileLength = File::GetSize(m_pFileHandle); + m_FileLength = (u32)File::GetSize(m_pFileHandle); u32 Position = (u32)ftello(m_pFileHandle); u32 BufferOut = Memory::Read_U32(_CommandAddress + 0x18); |
