diff options
| author | nakeee <nakeee@gmail.com> | 2008-11-26 19:42:22 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2008-11-26 19:42:22 +0000 |
| commit | 8777917177f5065e962890cfb289100509d04276 (patch) | |
| tree | b19bb307371ac433a9afcd08cafc0287e74c79ab /Source/Core/Common/Src/StringUtil.cpp | |
| parent | d2b726da590ccc7bbc00679b6314196eba1881dd (diff) | |
warning fixes
(may break sound on wii, look in the changelog of
Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AXWii.cpp
if you wish to know why)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1306 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/StringUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/StringUtil.cpp b/Source/Core/Common/Src/StringUtil.cpp index 4c1163f345..205ad61e72 100644 --- a/Source/Core/Common/Src/StringUtil.cpp +++ b/Source/Core/Common/Src/StringUtil.cpp @@ -376,14 +376,14 @@ int ChooseStringFrom(const char* str, const char* * items) // Thousand separator. Turns 12345678 into 12,345,678.
std::string ThS(int a, bool b)
{
- char cbuf[20]; int j = 0;
+ char cbuf[20];
// determine treatment of signed or unsigned
if(b) sprintf(cbuf, "%u", a); else sprintf(cbuf, "%i", a);
std::string sbuf = cbuf;
- for (int i = 0; i < sbuf.length(); ++i)
+ for (u32 i = 0; i < sbuf.length(); ++i)
{
if((i & 3) == 3)
{
|
