From: Debian Qt/KDE Maintainers Date: Mon, 17 Feb 2020 18:55:34 +0000 (+0000) Subject: fix build with ICU 65.1 X-Git-Tag: archive/raspbian/5.212.0_alpha3-7+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=738298aec40ff2016f406e217ef99ee6053952ca;p=qtwebkit-opensource-src.git fix build with ICU 65.1 Origin: https://github.com/qtwebkit/qtwebkit/commit/dc02ec4080010e33 Last-Update: 2020-02-17 Gbp-Pq: Name icu_65.1.diff --- diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp index 1bca2d0a..19355f16 100644 --- a/Source/WebCore/dom/Document.cpp +++ b/Source/WebCore/dom/Document.cpp @@ -4407,12 +4407,12 @@ static bool isValidNameNonASCII(const UChar* characters, unsigned length) unsigned i = 0; UChar32 c; - U16_NEXT(characters, i, length, c) + U16_NEXT(characters, i, length, c); if (!isValidNameStart(c)) return false; while (i < length) { - U16_NEXT(characters, i, length, c) + U16_NEXT(characters, i, length, c); if (!isValidNamePart(c)) return false; } @@ -4474,7 +4474,7 @@ bool Document::parseQualifiedName(const String& qualifiedName, String& prefix, S for (unsigned i = 0; i < length;) { UChar32 c; - U16_NEXT(qualifiedName, i, length, c) + U16_NEXT(qualifiedName, i, length, c); if (c == ':') { if (sawColon) { ec = NAMESPACE_ERR;