[all-commits] [llvm/llvm-project] 838b11: [libc] Fix missing UINTMAX_WIDTH (#87092)

Michael Jones via All-commits all-commits at lists.llvm.org
Fri Mar 29 10:32:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 838b118d394138a746ffb4c113fb97b0f8904bd2
      https://github.com/llvm/llvm-project/commit/838b118d394138a746ffb4c113fb97b0f8904bd2
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M libc/test/src/stdio/sprintf_test.cpp

  Log Message:
  -----------
  [libc] Fix missing UINTMAX_WIDTH (#87092)

In patch #82461 the sprintf tests were made to use UINTMAX_WIDTH which
isn't defined on all systems. This patch changes it to
sizeof(uintmax_t)*CHAR_BIT which is more portable.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list