mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
fix some warnings, compile Plugin_VideoSoftware against the plain multithreaded version of libc instead of the MT DLL version.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4460 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -44,7 +44,7 @@ public:
|
||||
m_csum = 0;
|
||||
addData(hdr, 3, 1);
|
||||
}
|
||||
void addData(void *data, int len)
|
||||
void addData(void *data, size_t len)
|
||||
{
|
||||
addData((unsigned char*)data, len);
|
||||
}
|
||||
@ -65,7 +65,7 @@ public:
|
||||
addData(m_csum + len - 2);
|
||||
}
|
||||
|
||||
void addData(unsigned char *dst, int len, int sync = 0)
|
||||
void addData(unsigned char *dst, size_t len, int sync = 0)
|
||||
{
|
||||
while (len--)
|
||||
{
|
||||
|
@ -145,7 +145,7 @@ bool CFileSystemGCWii::ExportApploader(const char* _rExportFolder) const
|
||||
bool CFileSystemGCWii::ExportDOL(const char* _rExportFolder) const
|
||||
{
|
||||
u32 DolOffset = Read32(0x420) << m_OffsetShift;
|
||||
u32 DolSize, offset = 0, size = 0;
|
||||
u32 DolSize = 0, offset = 0, size = 0;
|
||||
|
||||
// Iterate through the 7 code segments
|
||||
for (u8 i = 0; i < 7; i++)
|
||||
|
Reference in New Issue
Block a user