[all-commits] [llvm/llvm-project] 21b986: [libc] Fix arm32 tests (#74457)

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Tue Dec 5 04:53:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21b986637b950bb1762a38201223d62c4bca0dce
      https://github.com/llvm/llvm-project/commit/21b986637b950bb1762a38201223d62c4bca0dce
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M libc/test/src/__support/memory_size_test.cpp

  Log Message:
  -----------
  [libc] Fix arm32 tests (#74457)

`ASSERT_EQ` requires that both operands have the same type but on arm32
`size_t` is `unsigned int` instead of `unsigned long`. Using `size_t`
explicitely to avoid "conflicting types for parameter 'ValType"




More information about the All-commits mailing list