Skip to content

Commit 38c65a4

Browse files
committed
Revise Intl patch for upstream API changes
1 parent cbcfca0 commit 38c65a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/jsc_intl_timezone.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ diff -aur target-org/webkit/Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp
3232
+ buffer.grow(strlen(systemPropBuffer));
3333
+ }
3434
+ UChar* bufferStart = buffer.data();
35-
+ if (WTF::Unicode::convertUTF8ToUTF16(reinterpret_cast<const char**>(&systemPropBuffer), systemPropBuffer + systemPropLength, &bufferStart, bufferStart + buffer.capacity()) == WTF::Unicode::conversionOK) {
35+
+ if (WTF::Unicode::convertUTF8ToUTF16(systemPropBuffer, systemPropBuffer + systemPropLength, &bufferStart, bufferStart + buffer.capacity())) {
3636
+ status = U_ZERO_ERROR;
3737
+ }
3838
}

0 commit comments

Comments
 (0)