[all-commits] [llvm/llvm-project] 4e1a16: [libc] Fix various -Wconversion warnings in strto*...

Roland McGrath via All-commits all-commits at lists.llvm.org
Fri Aug 27 14:04:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e1a164d7bd53653f79decc121afe784d2fde0a7
      https://github.com/llvm/llvm-project/commit/4e1a164d7bd53653f79decc121afe784d2fde0a7
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2021-08-27 (Fri, 27 Aug 2021)

  Changed paths:
    M libc/test/src/stdlib/strtol_test.cpp
    M libc/test/src/stdlib/strtoll_test.cpp
    M libc/test/src/stdlib/strtoul_test.cpp
    M libc/test/src/stdlib/strtoull_test.cpp

  Log Message:
  -----------
  [libc] Fix various -Wconversion warnings in strto*l test code.

The Fuchsia build compiles the libc and test code with lots
of warnings enabled, including all the integer conversion warnings.
There was some sloppy type usage here that triggered some of those.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D108800




More information about the All-commits mailing list