Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 88ba179329756fab61537ea1912aae7fa0d76441
      
https://github.com/WebKit/WebKit/commit/88ba179329756fab61537ea1912aae7fa0d76441
  Author: Alicia Boya Garcia <[email protected]>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M Source/JavaScriptCore/API/glib/JSCValue.cpp

  Log Message:
  -----------
  [JSC] Unreviewed: Fix build after 288688@main
https://bugs.webkit.org/show_bug.cgi?id=285747

288688@main introduced usage of raw C arrays, which is not allowed in
the current safer C++ guidelines enforced by the clang build:

```
JavaScriptCore/API/glib/JSCValue.cpp:2194:5: error: unsafe buffer access 
[-Werror,-Wunsafe-buffer-usage]
 2194 |     arguments[1] = rejectObj;
      |     ^~~~~~~~~
```

This patch replaces that particular usage with std::array<> to fix the
build error.

* Source/JavaScriptCore/API/glib/JSCValue.cpp:
(jsc_value_new_promise):

Canonical link: https://commits.webkit.org/288709@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to