diff options
Diffstat (limited to 'src/common/mac/string_utilities.cc')
-rw-r--r-- | src/common/mac/string_utilities.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/mac/string_utilities.cc b/src/common/mac/string_utilities.cc index bdf3336c..5a89be38 100644 --- a/src/common/mac/string_utilities.cc +++ b/src/common/mac/string_utilities.cc @@ -55,10 +55,10 @@ std::string ConvertToString(CFStringRef str) { unsigned int IntegerValueAtIndex(string &str, unsigned int idx) { string digits("0123456789"), temp; - unsigned int start = 0; - unsigned int end; - unsigned int found = 0; - unsigned int result = 0; + size_t start = 0; + size_t end; + size_t found = 0; + size_t result = 0; for (; found <= idx; ++found) { end = str.find_first_not_of(digits, start); |