| Index: Source/core/xml/XMLHttpRequest.cpp
|
| diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp
|
| index b758c516c21c913eac6dee7db0971568538f8ced..c7cab5d8d30012365a6941777b4c116c866e45d7 100644
|
| --- a/Source/core/xml/XMLHttpRequest.cpp
|
| +++ b/Source/core/xml/XMLHttpRequest.cpp
|
| @@ -113,7 +113,7 @@ static bool isSetCookieHeader(const AtomicString& name)
|
|
|
| static void replaceCharsetInMediaType(String& mediaType, const String& charsetValue)
|
| {
|
| - unsigned int pos = 0, len = 0;
|
| + unsigned pos = 0, len = 0;
|
|
|
| findCharsetInMediaType(mediaType, pos, len);
|
|
|
| @@ -125,7 +125,7 @@ static void replaceCharsetInMediaType(String& mediaType, const String& charsetVa
|
| // Found at least one existing charset, replace all occurrences with new charset.
|
| while (len) {
|
| mediaType.replace(pos, len, charsetValue);
|
| - unsigned int start = pos + charsetValue.length();
|
| + unsigned start = pos + charsetValue.length();
|
| findCharsetInMediaType(mediaType, pos, len, start);
|
| }
|
| }
|
|
|