summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/StringUtil.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-02-22 12:43:25 +0000
committerhrydgard <hrydgard@gmail.com>2009-02-22 12:43:25 +0000
commitaff0f1fbe3a8ebe9b2968fe506fdb1f072725c3d (patch)
treed465b6780f39dc9ec195d503da14a0f9da2772df /Source/Core/Common/Src/StringUtil.cpp
parent8276ca3b218664201065212c905d6de95d8e4d54 (diff)
Consolidate the three implementations of Decode5A3 found in Core into one. Fix some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2364 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/StringUtil.cpp')
-rw-r--r--Source/Core/Common/Src/StringUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/StringUtil.cpp b/Source/Core/Common/Src/StringUtil.cpp
index 1d48efa223..edfbe3a282 100644
--- a/Source/Core/Common/Src/StringUtil.cpp
+++ b/Source/Core/Common/Src/StringUtil.cpp
@@ -76,7 +76,7 @@ u32 Ascii2Hex(std::string _Text)
u32 Result = 0;
// Max 32-bit values are supported
- int Length = _Text.length();
+ size_t Length = _Text.length();
if (Length > 4)
Length = 4;