aboutsummaryrefslogtreecommitdiff
path: root/src/common/mac/string_utilities.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/mac/string_utilities.cc')
-rw-r--r--src/common/mac/string_utilities.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mac/string_utilities.cc b/src/common/mac/string_utilities.cc
index 5a89be38..e1f63a98 100644
--- a/src/common/mac/string_utilities.cc
+++ b/src/common/mac/string_utilities.cc
@@ -58,7 +58,7 @@ unsigned int IntegerValueAtIndex(string &str, unsigned int idx) {
size_t start = 0;
size_t end;
size_t found = 0;
- size_t result = 0;
+ unsigned int result = 0;
for (; found <= idx; ++found) {
end = str.find_first_not_of(digits, start);