[all-commits] [llvm/llvm-project] ba177c: [libc] Add a few missing casts (#70850)

Roland McGrath via All-commits all-commits at lists.llvm.org
Tue Oct 31 12:37:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba177c7286f538a9f4d4962fc8ac6440a2244ed9
      https://github.com/llvm/llvm-project/commit/ba177c7286f538a9f4d4962fc8ac6440a2244ed9
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M libc/src/__support/integer_to_string.h
    M libc/src/stdio/printf_core/writer.h

  Log Message:
  -----------
  [libc] Add a few missing casts (#70850)

Stricter GCC warnings about implicit widening and narrowing cases
necessitate additional explicit casts around some integer operations.




More information about the All-commits mailing list