Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9987de5f04ac3ff6aa8278b1f72bfe86c79af895
      
https://github.com/WebKit/WebKit/commit/9987de5f04ac3ff6aa8278b1f72bfe86c79af895
  Author: Fujii Hironori <hironori.fu...@sony.com>
  Date:   2024-10-04 (Fri, 04 Oct 2024)

  Changed paths:
    M Source/JavaScriptCore/disassembler/zydis/Zydis/ZydisSharedData.c

  Log Message:
  -----------
  disassembler/zydis/Zydis/ZydisSharedData.c: error: comparison of integers of 
different signs: 'ZydisInternalElementType' (aka 'enum 
ZydisInternalElementType_') and 'unsigned long long'
https://bugs.webkit.org/show_bug.cgi?id=280875

Reviewed by Yusuke Suzuki.

Windows port Debug build couldn't compile Zydis.

> Source\JavaScriptCore\disassembler/zydis/Zydis/ZydisSharedData.c(180,25): 
> error: comparison of integers of different signs: 'ZydisInternalElementType' 
> (aka 'enum ZydisInternalElementType_') and 'unsigned long long' 
> [-Werror,-Wsign-compare]
>   180 |     ZYAN_ASSERT(element < ZYAN_ARRAY_LENGTH(lookup));
>       |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Cherry-picked the upstream fix.
<https://github.com/zyantific/zydis/commit/90d54ee8f4f62231bd7dbc0e5f010681b89c5128>

* Source/JavaScriptCore/disassembler/zydis/Zydis/ZydisSharedData.c:
(ZydisGetElementInfo):

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



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

Reply via email to