Skip to content

Commit 384ab7d

Browse files
committed
deps: v8: remove unnecessary toUCharPtr
- breaks on ubuntu with icu 57 from the system
1 parent 1d2ab79 commit 384ab7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/v8/src/runtime/runtime-intl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ RUNTIME_FUNCTION(Runtime_PluralRulesSelect) {
627627
return *isolate->factory()
628628
->NewStringFromTwoByte(Vector<const uint16_t>(
629629
reinterpret_cast<const uint16_t*>(
630-
icu::toUCharPtr(result.getBuffer())),
630+
result.getBuffer()),
631631
result.length()))
632632
.ToHandleChecked();
633633
}

0 commit comments

Comments
 (0)