mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Removed more compiler warnings in linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5170 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ff7da32c6b
commit
beba3b7f5b
22 changed files with 33 additions and 35 deletions
|
@ -119,7 +119,7 @@ std::string CVolumeWAD::GetName() const
|
|||
|
||||
// Remove the null bytes due to 16bit char length
|
||||
std::string out_temp;
|
||||
for (int i = 0; i < sizeof(temp); i+=2)
|
||||
for (unsigned int i = 0; i < sizeof(temp); i+=2)
|
||||
{
|
||||
// Replace null chars with a single space per null section
|
||||
if (temp[i] == '\0' && i > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue